• Junio C Hamano's avatar
    ce_match_stat, run_diff_files: use symbolic constants for readability · 4bd5b7da
    Junio C Hamano authored
    ce_match_stat() can be told:
     (1) to ignore CE_VALID bit (used under "assume unchanged" mode)
         and perform the stat comparison anyway;
     (2) not to perform the contents comparison for racily clean
         entries and report mismatch of cached stat information;
    using its "option" parameter.  Give them symbolic constants.
    Similarly, run_diff_files() can be told not to report anything
    on removed paths.  Also give it a symbolic constant for that.
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
check-racy.c 538 Bytes