Closed
Description
I came across the following error trying to run gitinspector for a repository containing Lilypond (.ly and .ily) files but no files that would be scanned by default by gitinspector. Adding the option -f ly,ily fixes the issue but it would be nice if the user could be told that no files were scanned and prompted to check that they have supplied the -f option if necessary. It would also be nice if .ly and .ily files could be enabled by default.
I will try to fix the issue if I get time, but thought I would report it here in any case.
Thanks for sharing a useful piece of software!
Gregrs
Traceback (most recent call last):
File "./gitinspector.py", line 24, in <module>
gitinspector.main()
File "/Users/Grs/Downloads/gitinspector/gitinspector/gitinspector.py", line 206, in main
run.process(repos)
File "/Users/Grs/Downloads/gitinspector/gitinspector/gitinspector.py", line 83, in process
outputable.output(ChangesOutput(summed_changes))
File "/Users/Grs/Downloads/gitinspector/gitinspector/output/outputable.py", line 43, in output
outputable.output_text()
File "/Users/Grs/Downloads/gitinspector/gitinspector/output/changesoutput.py", line 134, in output_text
authorinfo_list = self.changes.get_authorinfo_list()
File "/Users/Grs/Downloads/gitinspector/gitinspector/changes.py", line 264, in get_authorinfo_list
for i in self.commits:
AttributeError: 'Changes' object has no attribute 'commits'