X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-add.c;h=4fc9d6f7ccdd7b989d75ae6e24df997c4deb3505;hb=10455d2a955a29db1809be139177e4e298771eb0;hp=850e1c23e545e8f84e5a72ea7a7bdd1a99746938;hpb=89919f4f57006358c278c1f207249edcccbe68c4;p=git.git diff --git a/builtin-add.c b/builtin-add.c index 850e1c23e..4fc9d6f7c 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)