@matheusbsbs / matheus-bagliano / commits / 7e76aba317
Fork 0

builtin-commit: remove unused message variable

builtin-commit uses commit_tree() from builtin-commit-tree since 6bb6b03 (builtin-commit: use commit_tree(), 2008-09-10), where the same message is used. Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Markus Heidelberg committed Dec 13, 2008 at 20:05 UTC 7e76aba317b690932c8236311219b0faf97f1571
1 file changed -5
builtin-commit.c
-5
@@ -932,11 +932,6 @@ static int git_commit_config(const char *k, const char *v, void *cb)
932 return git_status_config(k, v, cb);
933 }
934
935 -static const char commit_utf8_warn[] =
936 -"Warning: commit message does not conform to UTF-8.\n"
937 -"You may want to amend it after fixing the message, or set the config\n"
938 -"variable i18n.commitencoding to the encoding your project uses.\n";
939 -
935 int cmd_commit(int argc, const char **argv, const char *prefix)
936 {
937 struct strbuf sb = STRBUF_INIT;