gitinspector icon indicating copy to clipboard operation
gitinspector copied to clipboard

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

Open jamesquilty opened this issue 7 years ago • 2 comments

On the current Master commit, 15 May 2017 (6d77989e341e043c9a7f09757000d75701b32d84), 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 avatar Apr 21 '18 23:04 jamesquilty

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

adam-waldenberg avatar Jun 05 '18 13:06 adam-waldenberg

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.

jamesquilty avatar Aug 14 '18 10:08 jamesquilty