diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-10-18 14:18:58 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-18 14:18:58 +0900 |
commit | aec2eb8bfd1f927bd470ea0e24d172a696019924 (patch) | |
tree | 30a2f106d0b3226df2ccd0057b98114a30331c38 | |
parent | Merge branch 'mh/packed-ref-store-prep' into maint (diff) | |
parent | commit-tree: do not complete line in -F input (diff) | |
download | tgif-aec2eb8bfd1f927bd470ea0e24d172a696019924.tar.xz |
Merge branch 'rk/commit-tree-make-F-verbatim' into maint
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/commit-tree.c b/builtin/commit-tree.c index a4a923d7c0..c1de41c67f 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; } |