mirror of
https://github.com/frej/fast-export.git
synced 2025-11-15 06:55:51 +01:00
The change in 6cf9397bd6 broke support for
bare repositories. In a bare repo git rev-parse --show-toplevel would
return an empty string and cwd would then be changed to the user's home
directory. In the home directory git rev-parse --git-dir would either
fail or return an unrelated repo.
Problem reported by Ralf Rösch.
1.8 KiB
Executable File
1.8 KiB
Executable File