diff options
author | Jeff King <peff@peff.net> | 2011-12-18 00:03:22 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-18 00:11:54 -0800 |
commit | 2c47789d817aaf745a5ce5d5f79619c634cc8566 (patch) | |
tree | c5a700e745a7d67910a182dbc2cd1d2aeb133c45 /ll-merge.h | |
parent | builtin-commit: Two trivial style-cleanups (diff) | |
download | tgif-2c47789d817aaf745a5ce5d5f79619c634cc8566.tar.xz |
commit, merge: initialize static strbuf
Strbufs cannot rely on static all-zero initialization; instead, they must
use STRBUF_INIT to point to the "slopbuf".
Without this patch, "git commit --no-message" segfaults reliably. Fix the
same issue in builtin/merge.c as well.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'll-merge.h')
0 files changed, 0 insertions, 0 deletions