summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-07-29 15:14:41 +0200
committerSebastian Thiel <byronimo@gmail.com>2015-07-29 15:14:41 +0200
commit8324c4b38cf37af416833d36696577d8d35dce7f (patch)
tree9d705ac9c3aee56876895cc9196256f308868045 /git/cmd.py
parentc58887a2d8554d171a7c76b03bfa919c72e918e1 (diff)
downloadgitpython-8324c4b38cf37af416833d36696577d8d35dce7f.tar.gz
fix(diff): mode-assertions now deal with 0
If the file was not present, the mode seen in a diff can be legally '0', which previously caused an assertion to fail for no good reason. Now the assertion tests for None instead. Closes #323
Diffstat (limited to 'git/cmd.py')
0 files changed, 0 insertions, 0 deletions