diff options
author | James E. Blair <corvus@gnu.org> | 2015-03-02 09:25:27 -0800 |
---|---|---|
committer | James E. Blair <corvus@gnu.org> | 2015-03-02 09:25:27 -0800 |
commit | 50f763cfe38a1d69a3a04e41a36741545885f1d8 (patch) | |
tree | 5cdafbe221621ae6def1db5f90ca853d9b452bf0 /git/cmd.py | |
parent | a5e607e8aa62ca3778f1026c27a927ee5c79749b (diff) | |
download | gitpython-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