Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/tree-walk-with-repo'
[gitweb.git]
/
builtin
/
update-index.c
diff --git
a/builtin/update-index.c
b/builtin/update-index.c
index 3f8cc6ccb47c2f8927e91076a8844d2cfd8a0bb2..dff2f4b837208deebeb34f4af687c18df7dbfe76 100644
(file)
--- a/
builtin/update-index.c
+++ b/
builtin/update-index.c
@@
-601,7
+601,7
@@
static struct cache_entry *read_one_ent(const char *which,
struct object_id oid;
struct cache_entry *ce;
- if (get_tree_entry(ent, path, &oid, &mode)) {
+ if (get_tree_entry(
the_repository,
ent, path, &oid, &mode)) {
if (which)
error("%s: not in %s branch.", path, which);
return NULL;