checkout: fix dirty-file display.
authorJunio C Hamano <junkio@cox.net>
Wed, 15 Feb 2006 00:05:57 +0000 (16:05 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 15 Feb 2006 00:05:57 +0000 (16:05 -0800)
commit504fe714fe642b375992bb913075bee0d0bc1bbd
tree5517c7e050cfc002c1e1fd37d3abc6f4b9024f57
parent9ece7169a434d69a942b71dc49f507da37bbdbc3
checkout: fix dirty-file display.

When we refused to switch branches, we incorrectly showed
differences from the branch we would have switched to.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-checkout.sh