author | Jakub Narebski <jnareb@gmail.com> | |
Mon, 31 Jul 2006 01:28:34 +0000 (18:28 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 31 Jul 2006 01:28:34 +0000 (18:28 -0700) | ||
commit | b9182987a80f7e820cbe1f8c7c4dc26f8586e8cd | |
tree | 69bbbe5ec3d8bd8b7eb61e390f3b05a33eb831f5 | tree | snapshot |
parent | 5be01bc8d5cf9c63827311ad76dd8b66353253e1 | commit | diff |
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>
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 | diff | blob | history |