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:
parent
ba5bbb2a16
commit
c5e3b97312
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ DIRECTORIES = [
|
||||||
|
|
||||||
def checkup_committed(directory):
|
def checkup_committed(directory):
|
||||||
os.chdir(directory)
|
os.chdir(directory)
|
||||||
command = [GIT, 'status', '--short']
|
command = [GIT, 'status', '--short', '--untracked-files=all']
|
||||||
output = subprocess.check_output(command, stderr=subprocess.STDOUT)
|
output = subprocess.check_output(command, stderr=subprocess.STDOUT)
|
||||||
|
|
||||||
added = 0
|
added = 0
|
||||||
|
|
Loading…
Reference in a new issue