Uncommon/Xit — Issue #30: git checkout messes up stage diff
Author: Uncommon
Created: 2011-10-09 04:42:17+00:00
State: open
Labels: bug

I found this because it happens in GitX too.

* Check out an individual file from an older commit
* Go to stage view - the file doesn't show up in the unstaged list
* Make some changes to the file
* Stage view only show the changes compared to the commit you checked out from

Xcode 4 handles this correctly - it shows the diff relative to the head of the current branch.