Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-09-19 04:47:57 +0300
committerJunio C Hamano <gitster@pobox.com>2017-09-19 04:47:57 +0300
commit4d46bce6b07b8047aad2726e5dc42edcc6787d6b (patch)
tree0a1aa8443225dbb1035dff64847f771b169cc4d5 /builtin/commit-tree.c
parentd811ba1897b723fd0146875201061e3603c16391 (diff)
parentc818e743325e5710dbf2071b769fbcbc3b50a9e0 (diff)
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
Diffstat (limited to 'builtin/commit-tree.c')
-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;
}