summaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-07-28 20:04:11 -0500
committerEdward Thomson <ethomson@microsoft.com>2015-08-28 18:39:57 -0400
commit810cabb9dfa57127e78cb47dbe8ea95943fb2642 (patch)
treef1a4207927e9368d9b85f0a98ab7a5cf8bab7fc9 /src/index.c
parentef206124de957408c8d867e2f923d0611a7274fc (diff)
downloadlibgit2-810cabb9dfa57127e78cb47dbe8ea95943fb2642.tar.gz
racy-git: TODO to use improved diffing
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.c b/src/index.c
index a6a62e327..53120e49c 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;