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 /builtin | |
parent | 6b895039f4c81e8b50f0d5f7d22f400e52e9bfc6 (diff) | |
parent | c818e743325e5710dbf2071b769fbcbc3b50a9e0 (diff) | |
download | git-aec2eb8bfd1f927bd470ea0e24d172a696019924.tar.gz git-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
Diffstat (limited to 'builtin')
-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 a4a923d7c..c1de41c67 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; } |