Skip to content

Commit 4d46bce

Browse files
committed
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
2 parents d811ba1 + c818e74 commit 4d46bce

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

builtin/commit-tree.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ int cmd_commit_tree(int argc, const char **argv, const char *prefix)
102102
if (fd && close(fd))
103103
die_errno("git commit-tree: failed to close '%s'",
104104
argv[i]);
105-
strbuf_complete_line(&buffer);
106105
continue;
107106
}
108107

0 commit comments

Comments
 (0)