Skip to content

Commit

Permalink
[FIX] Cropped filenames in git-diff output lead to bugs with partiall…
Browse files Browse the repository at this point in the history
…y added files
  • Loading branch information
janstrohbeck committed Jan 26, 2021
1 parent e5537b8 commit 0fa07c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-cmake-format.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def getEditedFiles():

def getUnstagedFiles():
Head = getGitHead()
GitArgs = ['git', 'diff', '--stat']
GitArgs = ['git', 'diff', '--stat=10000']
DiffIndex = subprocess.Popen(GitArgs, stdout=subprocess.PIPE)
DiffIndexRet = DiffIndex.stdout.read().strip()
DiffIndexRet = DiffIndexRet.decode()
Expand Down

0 comments on commit 0fa07c1

Please sign in to comment.