aboutsummaryrefslogtreecommitdiff
path: root/receive-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-01-07 21:32:48 -0800
committerJunio C Hamano <junkio@cox.net>2006-01-07 21:32:48 -0800
commit8fc11b5aa98540f7caab87e22e5aae63512893a2 (patch)
tree42cc20556d8b4766d9a0adbcc2e32de22b9fc6c9 /receive-pack.c
parent92e802c6ccb96d1b5e8561b0a136d43d82253293 (diff)
parent6f2eacfeb2c67a7e05f98df2288d7893d3368c8e (diff)
downloadgit-8fc11b5aa98540f7caab87e22e5aae63512893a2.tar.gz
git-8fc11b5aa98540f7caab87e22e5aae63512893a2.tar.xz
GIT 1.0.8v1.0.8
Diffstat (limited to 'receive-pack.c')
-rw-r--r--receive-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/receive-pack.c b/receive-pack.c
index 92878ecac..ce986fe11 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[0];
+ char ref_name[FLEX_ARRAY]; /* more */
};
static struct command *commands = NULL;