diff options
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 45b14e8a61..77dcde6936 100644 --- a/builtin-add.c +++ b/builtin-add.c @@ -120,7 +120,7 @@ void add_files_to_cache(int verbose, const char *prefix, const char **files) rev.diffopt.output_format = DIFF_FORMAT_CALLBACK; rev.diffopt.format_callback = update_callback; rev.diffopt.format_callback_data = &verbose; - run_diff_files(&rev, 0); + run_diff_files(&rev, DIFF_RACY_IS_MODIFIED); } static void refresh(int verbose, const char **pathspec) |