mirror of
https://github.com/git/git.git
synced 2026-03-29 11:00:07 +02:00
Merge branch 'master' into next
* master: Documentation/gitdiffcore: fix order in pickaxe description Documentation: fix minor inconsistency Documentation: rebase -i ignores options passed to "git am" diff-options: make --patch a synonym for -p for-each-ref: Field with abbreviated objectname hash_object: correction for zero length file gitweb: Use @diff_opts while using format-patch
This commit is contained in:
@@ -6151,8 +6151,8 @@ sub git_commitdiff {
|
||||
}
|
||||
push @commit_spec, '--root', $hash;
|
||||
}
|
||||
open $fd, "-|", git_cmd(), "format-patch", '--encoding=utf8',
|
||||
'--stdout', @commit_spec
|
||||
open $fd, "-|", git_cmd(), "format-patch", @diff_opts,
|
||||
'--encoding=utf8', '--stdout', @commit_spec
|
||||
or die_error(500, "Open git-format-patch failed");
|
||||
} else {
|
||||
die_error(400, "Unknown commitdiff format");
|
||||
|
||||
Reference in New Issue
Block a user