← Winnitude! Search  ·  Reader Mode (1501 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 14 LINKS

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, 2011

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

Labels


acknowledged

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions