Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Make track_tree_refs void.
author
David Rientjes
<rientjes@google.com>
Mon, 14 Aug 2006 20:40:06 +0000
(13:40 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Tue, 15 Aug 2006 01:59:03 +0000
(18:59 -0700)
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
tree.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
aa14540
)
diff --git
a/tree.c
b/tree.c
index a6032e35ecb2543b6efcae252e5815b804cb6f0a..ef456be9dd0faee46435a3c3b126a36c2be58051 100644
(file)
--- a/
tree.c
+++ b/
tree.c
@@
-144,7
+144,7
@@
struct tree *lookup_tree(const unsigned char *sha1)
return (struct tree *) obj;
}
-static
int
track_tree_refs(struct tree *item)
+static
void
track_tree_refs(struct tree *item)
{
int n_refs = 0, i;
struct object_refs *refs;
@@
-174,7
+174,6
@@
static int track_tree_refs(struct tree *item)
refs->ref[i++] = obj;
}
set_object_refs(&item->object, refs);
- return 0;
}
int parse_tree_buffer(struct tree *item, void *buffer, unsigned long size)