Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] commit: error out for missing commit message template

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:50:39

Jonathan Nieder [off-list ref] writes:
quoted
--- a/builtin/commit.c
+++ b/builtin/commit.c
@@ -725,15 +725,15 @@ static int prepare_to_commit(const char *index_file, const char *prefix,
[...]
quoted
-				"%s"
-				"# Author:    %s\n",
+				_("%s"
+				"# Author:    %s\n"),
The above change causes the commit message template to be nonempty,
excluding comments, so bare "git commit" succeeds, exposing this
longstanding bug.
Thanks; using "#" at the beginning of poison message sometimes has its
uses ;-)

Will queue.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help