X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=receive-pack.c;h=f847ec2b54b74e2b9bee7bde8fccbaa8ee569573;hb=5a2282de13c4da13f979185e652c8a08e2481fd1;hp=e79de917b542eb35d6b5752837b25ccae897646e;hpb=e77f489edf3865dbcfd329461355523bb3c21075;p=git.git diff --git a/receive-pack.c b/receive-pack.c index e79de917..f847ec2b 100644 --- a/receive-pack.c +++ b/receive-pack.c @@ -37,7 +37,7 @@ struct command { const char *error_string; unsigned char old_sha1[20]; unsigned char new_sha1[20]; - char ref_name[0]; + char ref_name[FLEX_ARRAY]; /* more */ }; static struct command *commands = NULL;