Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1_name: convert internals of peel_onion to object_id
[gitweb.git]
/
walker.c
diff --git
a/walker.c
b/walker.c
index 3d6029c8e226c1de37b38a379fe47d82976bd758..eae9fb974f145b2ac9477357c260044a416f8c7f 100644
(file)
--- a/
walker.c
+++ b/
walker.c
@@
-47,7
+47,7
@@
static int process_tree(struct walker *walker, struct tree *tree)
if (S_ISGITLINK(entry.mode))
continue;
if (S_ISDIR(entry.mode)) {
- struct tree *tree = lookup_tree(entry.oid
->hash
);
+ struct tree *tree = lookup_tree(entry.oid);
if (tree)
obj = &tree->object;
}