X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/8ce125f5d6b5de3bad1a30b2217d0ef60bef4b4b61f72ddc0332b84efcbe16d2..c84a940733d70d21cd9f534afd5db397ec9782e47119f91b15288e423ceca9b9:/gitweb.perl diff --git a/gitweb.perl b/gitweb.perl index 1f1842a..8b61a75 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -6326,8 +6326,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");