Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
tree-walk: convert tree entry functions to object_id
[gitweb.git]
/
builtin
/
update-index.c
diff --git
a/builtin/update-index.c
b/builtin/update-index.c
index 58d1c2d2827d61899d73f1ea7632c5ee219f3ace..9625d1e10a691c1dbd2ec2aa5d10a6c8a6ca7885 100644
(file)
--- a/
builtin/update-index.c
+++ b/
builtin/update-index.c
@@
-592,7
+592,7
@@
static struct cache_entry *read_one_ent(const char *which,
int size;
struct cache_entry *ce;
- if (get_tree_entry(ent
->hash, path, oid.hash
, &mode)) {
+ if (get_tree_entry(ent
, path, &oid
, &mode)) {
if (which)
error("%s: not in %s branch.", path, which);
return NULL;