/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
object.h: Add OBJECT_ARRAY_INIT macro and make use of it.
[git/git.git]
/
reachable.c
diff --git
a/reachable.c
b/reachable.c
index
b515fa2
..
a03fabf
100644
(file)
--- a/
reachable.c
+++ b/
reachable.c
@@
-90,7
+90,7
@@
static void walk_commit_list(struct rev_info *revs)
{
int i;
struct commit *commit;
- struct object_array objects =
{ 0, 0, NULL }
;
+ struct object_array objects =
OBJECT_ARRAY_INIT
;
/* Walk all commits, process their trees */
while ((commit = get_revision(revs)) != NULL)