]> Pileus Git - ~andy/git/commitdiff
builtin-commit: remove unused message variable
authorMarkus Heidelberg <markus.heidelberg@web.de>
Sat, 13 Dec 2008 19:05:34 +0000 (20:05 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 13 Dec 2008 20:09:36 +0000 (12:09 -0800)
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>
builtin-commit.c

index 2b499fa543e4fd969ee0dcf1e878cbe19f4ba02f..e88b78f8114e48c542a52bdc42b9c573a7e94cad 100644 (file)
@@ -932,11 +932,6 @@ static int git_commit_config(const char *k, const char *v, void *cb)
        return git_status_config(k, v, cb);
 }
 
-static const char commit_utf8_warn[] =
-"Warning: commit message does not conform to UTF-8.\n"
-"You may want to amend it after fixing the message, or set the config\n"
-"variable i18n.commitencoding to the encoding your project uses.\n";
-
 int cmd_commit(int argc, const char **argv, const char *prefix)
 {
        struct strbuf sb = STRBUF_INIT;