Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t4017 (diff-retval): replace manual exit code check with test_expect_code
[gitweb.git]
/
reachable.c
diff --git
a/reachable.c
b/reachable.c
index b515fa2de332cc570a8a32861bd8d6491b61133e..a03fabf060081e9fa5e0d753cd0d9cf4bca5062e 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)