Do diffs detect renamed files properly? · Issue #36 · gitpython-developers/GitPython
Repository navigation
Do diffs detect renamed files properly? #36
New issue
New issue
Closed
#62
Closed
Do diffs detect renamed files properly? #36 #62 Assignees Byron is assigned Labels
acknowledged
Milestone v0.3.5 - bugfixes
Description
@ondrowan's profile ondrowan opened on Nov 10, 2011I'm using following code for detecting changes between commits:
diff = commit.diff(*parents, R = True, M = True)
Everything works ok in except of renames. When I use M = True it should detect renames instead of add / deletions. However, when I use it, it doesn't return anything. Is this a bug or did I just misunderstand how to use it?
The thing I noticed in git log -M is that instead of R it shows me R100 (not really sure whether it's normal or not):
commit a8b61b9d18350a3d44e50fc9614279a2654b646d
Author: ondrowan <...>
Date: Sat Nov 5 12:16:21 2011 +0100Moved thing
R100 thing newdir/moved_thing
Metadata
Metadata
Assignees
Labels
acknowledged