X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=upload-pack.c;h=92f9530c6572a212c12ac917d774736286325e52;hb=b815a726e9da97924b44d551b10d3fef3b3d1885;hp=fc79ddef255a49176acab52c6492c1086b4e6e44;hpb=2dc3b199af028a8f563f582b367c163e054c44d5;p=git.git diff --git a/upload-pack.c b/upload-pack.c index fc79ddef2..92f9530c6 100644 --- 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;