summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
authorJames E. Blair <corvus@gnu.org>2015-03-02 09:25:27 -0800
committerJames E. Blair <corvus@gnu.org>2015-03-02 09:25:27 -0800
commit50f763cfe38a1d69a3a04e41a36741545885f1d8 (patch)
tree5cdafbe221621ae6def1db5f90ca853d9b452bf0 /git/cmd.py
parenta5e607e8aa62ca3778f1026c27a927ee5c79749b (diff)
downloadgitpython-50f763cfe38a1d69a3a04e41a36741545885f1d8.tar.gz
Store path attribute on Diff object
If a file in a commit contains no changes (for example, if only the file mode is changed) there will be no blob attached. This is usually where the filename is stored, so without it, the calling context can not tell what file was changed. Instead, always store a_path and b_path on the Diff object so that information is available.
Diffstat (limited to 'git/cmd.py')
0 files changed, 0 insertions, 0 deletions