diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-03-05 22:29:50 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-03-05 22:29:50 (GMT) |
commit | 2980b0de1b387e4f9a63c50ca741271990c849d5 (patch) | |
tree | a1de1f592f7c95350b3e06aab3ac841f974021ff /fast-import.c | |
parent | a8747a1098324c418d2d1de2b563f8e3155dc32f (diff) | |
parent | 69f4e08f535d4e5a035069a64d1ebaea7be55d83 (diff) | |
download | git-2980b0de1b387e4f9a63c50ca741271990c849d5.zip git-2980b0de1b387e4f9a63c50ca741271990c849d5.tar.gz git-2980b0de1b387e4f9a63c50ca741271990c849d5.tar.bz2 |
Sync with 1.7.9.3
Diffstat (limited to 'fast-import.c')
-rw-r--r-- | fast-import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fast-import.c b/fast-import.c index 6cd19e5..c1486ca 100644 --- a/fast-import.c +++ b/fast-import.c @@ -2712,7 +2712,7 @@ static void parse_new_tag(void) /* Obtain the new tag name from the rest of our command */ sp = strchr(command_buf.buf, ' ') + 1; t = pool_alloc(sizeof(struct tag)); - t->next_tag = NULL; + memset(t, 0, sizeof(struct tag)); t->name = pool_strdup(sp); if (last_tag) last_tag->next_tag = t; |