diff-files: mark an index entry we know is up-to-date as such
commit8fa29602d4cf8c9ec7d837f7308a9582a8372cb5
authorJunio C Hamano <gitster@pobox.com>
Sun, 30 Mar 2008 19:39:25 +0000 (30 12:39 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 13 Apr 2008 02:42:17 +0000 (12 19:42 -0700)
tree794186bba2552074ac6e912f8cbdc82bc6b08bee
parente06c43c7959042e5612984b8193700f32f12b2be
diff-files: mark an index entry we know is up-to-date as such

This does not make any difference when running diff-files alone, but if
you internally run run_diff_files() and then run other operations further
on the index, we do not have to run lstat(2) again on entries we already
have checked.

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