Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
dir: convert is_excluded to take an index
[gitweb.git]
/
unpack-trees.c
diff --git
a/unpack-trees.c
b/unpack-trees.c
index f278cd23f0f365f17c42d02198d46b92b0357a1f..d5b401450f1de0f7ef21d0eb307fa1bafd150f36 100644
(file)
--- a/
unpack-trees.c
+++ b/
unpack-trees.c
@@
-1634,7
+1634,7
@@
static int check_ok_to_remove(const char *name, int len, int dtype,
return 0;
if (o->dir &&
- is_excluded(o->dir, name, &dtype))
+ is_excluded(o->dir,
&the_index,
name, &dtype))
/*
* ce->name is explicitly excluded, so it is Ok to
* overwrite it.