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

gitinspector.py --version reports "Error processing git repository ..." #177

Open
jamesquilty opened this issue Apr 21, 2018 · 2 comments
Open

Comments

@jamesquilty
Copy link

On the current Master commit, 15 May 2017 (6d77989), trying to obtain the version using the --version flag produces an error:

$ gitinspector.py --version
Error processing git repository at "...".

The 0.4.4 release produces a more expected result:

$ gitinspector_044.py --version
gitinspector 0.4.4
Copyright © 2012-2016 Ejwa Software. All rights reserved.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Adam Waldenberg.

This is a minor bug, but it would be useful if it could be fixed because I am running multiple versions.

@jamesquilty jamesquilty changed the title gitinspector.py --version reports "Error processing git repository ..." gitinspector.py --version reports "Error processing git repository ..." Apr 21, 2018
@adam-waldenberg
Copy link
Member

Thank you @jamesquilty. I guess we have a regression in there. Will take a look when I have time.

@jamesquilty
Copy link
Author

Some more information: when run from a directory which contains a .git folder the expected output is produced:

$ gitinspector.py --version
gitinspector 0.5.0dev
Copyright © 2012-2015 Ejwa Software. All rights reserved.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Adam Waldenberg.

but, when run from a directory which does not contain a .git folder, the above Error processing git repository at "..." is reported.

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

No branches or pull requests

2 participants