X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=receive-pack.c;h=06857eb77fef93788f54d17cca68924f5213c9db;hb=7c3693f1f240e17772c864fad35bc16226038fc8;hp=1ef0c13935751903efc5c2dee738604a80b75de2;hpb=8c1f5f0f1f9c36ef5465512753efeff36758ba7d;p=git.git diff --git a/receive-pack.c b/receive-pack.c index 1ef0c139..06857eb7 100644 --- a/receive-pack.c +++ b/receive-pack.c @@ -24,7 +24,7 @@ struct command { unsigned char updated; unsigned char old_sha1[20]; unsigned char new_sha1[20]; - char ref_name[]; + char ref_name[0]; }; static struct command *commands = NULL;