]> Lady’s Gitweb - Gitweb/commit
gitweb: Use list for of open for running git commands, thorougly.
authorJakub Narebski <redacted>
Mon, 31 Jul 2006 01:28:34 +0000 (18:28 -0700)
committerLady <redacted>
Sat, 4 Apr 2026 18:43:38 +0000 (14:43 -0400)
commit3621e97a3fb3af884a4dd1809807b20419c208b6c22fff6da5d23e9c63d682c5
tree0be68d183a799a85d4ecf980d794b22f55ec0e559d425d58034c3cfcfab7e2f2
parente72dd037a382f9a1b3b3bb62b02b703ef9de639a53eadf99c376d0d2eb441b57
gitweb: Use list for of open for running git commands, thorougly.

Use list form of open for running git commands and reading their
output through pipe, for example

open my $fd, "-|", $GIT, "rev-list", "--header", "--parents", $hash

instead of

open my $fd, "-|", "$GIT rev-list --header --parents $hash"

Single letter options use ' instead of " as quotes, according to style
used in list form of magic "-|" open.

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.cgi
This page took 0.139373 seconds and 4 git commands to generate.