racy-git: TODO to use improved diffing

This commit is contained in:
Edward Thomson 2015-07-28 20:04:11 -05:00 committed by Edward Thomson
parent ef206124de
commit 810cabb9df

View File

@ -728,6 +728,7 @@ static int truncate_racily_clean(git_index *index)
if (!is_racy_timestamp(ts, entry))
continue;
/* TODO: use the (non-fnmatching) filelist iterator */
diff_opts.pathspec.count = 1;
diff_opts.pathspec.strings = (char **) &entry->path;