Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] debug commit is dependent on git repo #32

Open
theryangeary opened this issue Aug 10, 2019 · 0 comments
Open

[BUG] debug commit is dependent on git repo #32

theryangeary opened this issue Aug 10, 2019 · 0 comments

Comments

@theryangeary
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant