• J
    diff Porcelain: do not disable auto index refreshing on -C -C · 9d865356
    Junio C Hamano 提交于
    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: NJunio C Hamano <gitster@pobox.com>
    9d865356
diff.c 89.1 KB