Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
grep: add --threads=<num> option and grep.threads configuration
[gitweb.git]
/
builtin
/
merge.c
diff --git
a/builtin/merge.c
b/builtin/merge.c
index a0a93282922ebb8c58b79ff365d859500041351a..977ffff2876de4d817025bbf6d11ec251b674141 100644
(file)
--- a/
builtin/merge.c
+++ b/
builtin/merge.c
@@
-806,7
+806,7
@@
static void prepare_to_commit(struct commit_list *remoteheads)
abort_commit(remoteheads, NULL);
}
read_merge_msg(&msg);
- stripspace(&msg, 0 < option_edit);
+ str
buf_str
ipspace(&msg, 0 < option_edit);
if (!msg.len)
abort_commit(remoteheads, _("Empty commit message."));
strbuf_release(&merge_msg);