From: Alex Riesen Date: Thu, 20 Dec 2007 23:48:49 GMT Subject: [PATCH] Fix thinko in checking for commit message emptiness Message-ID: <20071220234849.GF3052@steel.home> In-Reply-To: <20071220233539.GC3052@steel.home> Signed-off-by: Alex Riesen --- Sorry. It must be late. It it must have been late yesterday and still is today. builtin-commit.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/builtin-commit.c b/builtin-commit.c index 1356d20..eae7661 100644 --- a/builtin-commit.c +++ b/builtin-commit.c @@ -436,7 +436,7 @@ static int message_is_empty(struct strbuf *sb, int start) int eol, i; if (verbatim_message && sb->len) - return 1; + return 0; /* See if the template is just a prefix of the message. */ strbuf_init(&tmpl, 0); -- 1.5.4.rc1.33.gbd32b