Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add new simplified git-remote-testgit
[gitweb.git]
/
unpack-trees.c
diff --git
a/unpack-trees.c
b/unpack-trees.c
index 00710b97812b033db91c1e76c8b441936d92a7d1..6d9636623a2cbb5d5a38eb58d625ef0164d953c0 100644
(file)
--- a/
unpack-trees.c
+++ b/
unpack-trees.c
@@
-1297,7
+1297,7
@@
static int verify_clean_subdirectory(struct cache_entry *ce,
* First let's make sure we do not have a local modification
* in that directory.
*/
- namelen =
strlen(ce->nam
e);
+ namelen =
ce_namelen(c
e);
for (i = locate_in_src_index(ce, o);
i < o->src_index->cache_nr;
i++) {