summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-09-19 10:47:57 +0900
committerJunio C Hamano <gitster@pobox.com>2017-09-19 10:47:57 +0900
commit4d46bce6b07b8047aad2726e5dc42edcc6787d6b (patch)
tree0a1aa8443225dbb1035dff64847f771b169cc4d5
parentd811ba1897b723fd0146875201061e3603c16391 (diff)
parentc818e743325e5710dbf2071b769fbcbc3b50a9e0 (diff)
downloadgit-4d46bce6b07b8047aad2726e5dc42edcc6787d6b.tar.gz
Merge branch 'rk/commit-tree-make-F-verbatim'
Unlike "git commit-tree < file", "git commit-tree -F file" did not pass the contents of the file verbatim and instead completed an incomplete line at the end, if exists. The latter has been updated to match the behaviour of the former. * rk/commit-tree-make-F-verbatim: commit-tree: do not complete line in -F input
-rw-r--r--builtin/commit-tree.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/commit-tree.c b/builtin/commit-tree.c
index 19e898fa4e..2177251e24 100644
--- a/builtin/commit-tree.c
+++ b/builtin/commit-tree.c
@@ -102,7 +102,6 @@ int cmd_commit_tree(int argc, const char **argv, const char *prefix)
if (fd && close(fd))
die_errno("git commit-tree: failed to close '%s'",
argv[i]);
- strbuf_complete_line(&buffer);
continue;
}