Skip to content

bug when rename and change some content  #258

@stevemao

Description

@stevemao

On the next branch

reality:

$ git show head
commit ad3c02c9d4f7879414274b4642bec2867be2029f (HEAD -> master, origin/master)
Author: Steve Mao <maochenyan@gmail.com>
Date:   Tue Aug 1 14:20:55 2017 +1000

    rename and change content

similarity index 85%
rename from b.txt
rename to a.txt
───────────────────────────────────────────────────────────────────────────────────────────────────
renamed: b.txt to a.txt
───────────────────────────────────────────────────────────────────────────────────────────────────

expected:

$ git show head
commit ad3c02c9d4f7879414274b4642bec2867be2029f (HEAD -> master, origin/master)
Author: Steve Mao <maochenyan@gmail.com>
Date:   Tue Aug 1 14:20:55 2017 +1000

    rename and change content

───────────────────────────────────────────────────────────────────────────────────────────────────
renamed: b.txt to a.txt
───────────────────────────────────────────────────────────────────────────────────────────────────

There shouldn't be

similarity index 85%
rename from b.txt
rename to a.txt

You can test this commit: stevemao/diff-so-fancy-test@ad3c02c

screen shot 2017-08-01 at 2 21 31 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions