diff Porcelain: do not disable auto index refreshing on -C -C
commit9d865356abc08b253bc15b5fb50471d80c828be1
authorJunio C Hamano <gitster@pobox.com>
Sun, 7 Sep 2008 02:09:16 +0000 (6 19:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 7 Sep 2008 02:09:16 +0000 (6 19:09 -0700)
treedc3e6101f86d3a3771dba906c95b5d50686b5ed5
parentf88d225feb117f0429540da90b2552e198fa2e82
diff Porcelain: do not disable auto index refreshing on -C -C

When we enabled the automatic refreshing of the index to "diff" Porcelain,
we disabled it when --find-copies-harder was asked, but there is no good
reason to do so.  In the following command sequence, the first "diff"
shows an "empty" diff exposing stat dirtyness, while the second one does
not.

    $ >foo
    $ git add foo
    $ touch foo
    $ git diff -C -C
    $ git diff -C

This fixes the inconsistency.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c