spdr870/gitextensions — Issue #797: File History fails to display some renamed files properly
Author: rooflz
Created: 2012-02-16 21:38:24+00:00
State: open

To reproduce run the following from git bash inside a new directory:

git init
touch a.txt
git add .
git commit -m "Add new file"
git mv a.txt b.txt
git commit -am "Rename a to b"

-Open git extensions and select the "Rename a to b" commit.
-Select the 'Diff' tab, and right click on 'b.txt (a.txt)' and select 'File history'

You should see an error similar to:

fatal: Path 'a.txt' does not exist in 'd387accc68c725b80ce57bcc1744e8ace9bcd0ac'

When parsing the git log output I believe the renamed files are displayed in alphabetic order, and it seems git extensions is assuming the first name read in is correct.