Commit 810cabb9dfa57127e78cb47dbe8ea95943fb2642

Edward Thomson 2015-07-28T20:04:11

racy-git: TODO to use improved diffing

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/index.c b/src/index.c
index a6a62e3..53120e4 100644
--- a/src/index.c
+++ b/src/index.c
@@ -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;