ginh
ginh copied to clipboard
[BUG] debug commit is dependent on git repo
Describe the bug Using the -d flag to get the debug output prints the commit hash of the HEAD of the repo. If ginh is run from inside this repo that's fine, however, if it is installed and run, it gives
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
commit:
And if it is installed and run from inside another git repo, it will give a hash from that repo, which is useless.
Debug See above