gitweb: Use list for of open for running git commands, thorougly.
authorJakub Narebski <jnareb@gmail.com>
Mon, 31 Jul 2006 01:28:34 +0000 (18:28 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 31 Jul 2006 01:28:34 +0000 (18:28 -0700)
commitb9182987a80f7e820cbe1f8c7c4dc26f8586e8cd
tree69bbbe5ec3d8bd8b7eb61e390f3b05a33eb831f5
parent5be01bc8d5cf9c63827311ad76dd8b66353253e1
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 <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.cgi