8000 Do diffs detect renamed files properly? · Issue #36 · gitpython-developers/GitPython · GitHub
[go: up one dir, main page]

Skip to content
Do diffs detect renamed files properly? #36
Closed
@ondrowan

Description

@ondrowan

I'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 +0100

Moved thing

R100 thing newdir/moved_thing

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0