summaryrefslogtreecommitdiff
path: root/check-racy.c
Commit message (Collapse)AuthorAgeFilesLines
* ce_match_stat, run_diff_files: use symbolic constants for readabilityJunio C Hamano2007-11-101-1/+1
| | | | | | | | | | | | | | | | | 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: Junio C Hamano <gitster@pobox.com>
* Add check program "git-check-racy"Junio C Hamano2006-08-151-0/+28
This will help counting the racily clean paths, but it should be useless for daily use. Do not even enable it in the makefile. Signed-off-by: Junio C Hamano <junkio@cox.net>