diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-11-24 18:03:04 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-24 18:03:04 -0800 |
commit | bc2b8eafaf074492e0489974b4086b3a0f354e7e (patch) | |
tree | a5662a57c224c50309019386707eb95206248191 /builtin-add.c | |
parent | d1c7cd13dc7839b3c0b4d56a84f9effc9976144e (diff) | |
parent | 25487bde2ab756a423489fc942b37c1550555b93 (diff) | |
download | git-bc2b8eafaf074492e0489974b4086b3a0f354e7e.tar.gz |
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 'builtin-add.c')
-rw-r--r-- | builtin-add.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-add.c b/builtin-add.c index 850e1c23e5..4fc9d6f7cc 100644 --- a/builtin-add.c +++ b/builtin-add.c @@ -117,7 +117,7 @@ static void update(int verbose, const char *prefix, const char **files) rev.diffopt.format_callback_data = &verbose; if (read_cache() < 0) die("index file corrupt"); - run_diff_files(&rev, 0); + run_diff_files(&rev, DIFF_RACY_IS_MODIFIED); } static void refresh(int verbose, const char **pathspec) |