Skip to content

Commit aec2eb8

Browse files
committed
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
2 parents 6b89503 + c818e74 commit aec2eb8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

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)