/
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]
/
upload-pack.c
diff --git
a/upload-pack.c
b/upload-pack.c
index
fc79dde
..
92f9530
100644
(file)
--- a/
upload-pack.c
+++ b/
upload-pack.c
@@
-482,7
+482,7
@@
static int get_common_commits(void)
static void receive_needs(void)
{
- struct object_array shallows =
{0, 0, NULL}
;
+ struct object_array shallows =
OBJECT_ARRAY_INIT
;
static char line[1000];
int len, depth = 0;