[PATCH] Fix thinko in checking for commit message emptiness
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Dec 20, 2007, 23:48 UTC
- Message-ID
- <20071220234849.GF3052@steel.home>
- In-Reply-To
- <20071220233539.GC3052@steel.home>
Signed-off-by: Alex Riesen <raa.lkml@gmail.com> ---
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