Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'tk/stripspace' into maint
[gitweb.git]
/
builtin
/
merge.c
diff --git
a/builtin/merge.c
b/builtin/merge.c
index a0edacab20bbe55458bb114bd00d618b1bc41a7a..e6741f3380d30adaf7b5a16688a4ccb3e6d6dd99 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);