summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Markus Heidelberg <markus.heidelberg@web.de>2008-12-13 20:05:34 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-12-13 12:09:36 -0800
commit7e76aba317b690932c8236311219b0faf97f1571 (patch)
treecfc33e68f93d4c926f740a9c297b6742ca21abc1
parentMerge branch 'maint' (diff)
downloadtgif-7e76aba317b690932c8236311219b0faf97f1571.tar.xz
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>
-rw-r--r--builtin-commit.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/builtin-commit.c b/builtin-commit.c
index 2b499fa543..e88b78f811 100644
--- a/builtin-commit.c
+++ b/builtin-commit.c
@@ -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;