mirror of
https://github.com/git/git.git
synced 2024-11-24 02:17:02 +08:00
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
This commit is contained in:
commit
aec2eb8bfd
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user