Add argument --untracked-files=all for better file count.

Without it, entire directories are counted as a single item.
I prefer to have the individual files counted.
This commit is contained in:
voussoir 2020-01-12 20:01:05 -08:00
parent ba5bbb2a16
commit c5e3b97312

View file

@ -35,7 +35,7 @@ DIRECTORIES = [
def checkup_committed(directory):
os.chdir(directory)
command = [GIT, 'status', '--short']
command = [GIT, 'status', '--short', '--untracked-files=all']
output = subprocess.check_output(command, stderr=subprocess.STDOUT)
added = 0