summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2017-06-12 15:13:55 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-06-13 11:40:51 -0700
commit82b474e025e89cfa294e81611c81355a73dc23a2 (patch)
tree7e0114fa1a11212629ff9c47a95a59fdb69222bd /dir.c
parentconvert: convert convert_to_git_filter_fd to take an index (diff)
downloadtgif-82b474e025e89cfa294e81611c81355a73dc23a2.tar.xz
convert: convert convert_to_git to take an index
Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 9efcf1eab6..f673b86f31 100644
--- a/dir.c
+++ b/dir.c
@@ -795,7 +795,7 @@ static int add_excludes(const char *fname, const char *base, int baselen,
(pos = index_name_pos(istate, fname, strlen(fname))) >= 0 &&
!ce_stage(istate->cache[pos]) &&
ce_uptodate(istate->cache[pos]) &&
- !would_convert_to_git(fname))
+ !would_convert_to_git(istate, fname))
hashcpy(sha1_stat->sha1,
istate->cache[pos]->oid.hash);
else