summaryrefslogtreecommitdiff
path: root/check-racy.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2007-11-24 18:03:04 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-11-24 18:03:04 -0800
commitbc2b8eafaf074492e0489974b4086b3a0f354e7e (patch)
treea5662a57c224c50309019386707eb95206248191 /check-racy.c
parentMerge branch 'jc/maint-format-patch-encoding' into maint (diff)
parentt2200: test more cases of "add -u" (diff)
downloadtgif-bc2b8eafaf074492e0489974b4086b3a0f354e7e.tar.xz
Merge branch 'jc/maint-add-sync-stat' into maint
* jc/maint-add-sync-stat: t2200: test more cases of "add -u" git-add: make the entry stat-clean after re-adding the same contents ce_match_stat, run_diff_files: use symbolic constants for readability
Diffstat (limited to 'check-racy.c')
-rw-r--r--check-racy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/check-racy.c b/check-racy.c
index d6a08b4a55..00d92a1663 100644
--- a/check-racy.c
+++ b/check-racy.c
@@ -18,7 +18,7 @@ int main(int ac, char **av)
if (ce_match_stat(ce, &st, 0))
dirty++;
- else if (ce_match_stat(ce, &st, 2))
+ else if (ce_match_stat(ce, &st, CE_MATCH_RACY_IS_DIRTY))
racy++;
else
clean++;