diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-12-22 11:27:31 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-22 11:27:31 -0800 |
commit | 1aea303d7eafc5f178b253f4d069eb5f2acfb409 (patch) | |
tree | c4db1a26a5f63f8820e26e408163dac8dbe56763 /builtin/commit.c | |
parent | 339aff0846ccf21905d047c20e3c7d077d6f300b (diff) | |
parent | 03f94ae9f909952ed5a78917ab319a312889354b (diff) | |
download | git-1aea303d7eafc5f178b253f4d069eb5f2acfb409.tar.gz |
Merge branch 'jk/maint-strbuf-missing-init'
* jk/maint-strbuf-missing-init:
commit, merge: initialize static strbuf
Conflicts:
builtin/merge.c
Diffstat (limited to 'builtin/commit.c')
-rw-r--r-- | builtin/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c index 3069041b80..5891e95758 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -104,7 +104,7 @@ static enum commit_whence whence; static int use_editor = 1, include_status = 1; static int show_ignored_in_status; static const char *only_include_assumed; -static struct strbuf message; +static struct strbuf message = STRBUF_INIT; static int null_termination; static enum { |