Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Make it work with $GIT containing spaces
author
Jakub Narebski
<jnareb@gmail.com>
Sat, 14 Jun 2008 18:37:59 +0000
(20:37 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 14 Jun 2008 19:48:06 +0000
(12:48 -0700)
This fixes single point where $GIT (which can contain full path
to git binary) with embedded spaces gave errors.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
1d284cb
)
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 198772c2104708bee899aa5f8ed9ec23267daae1..4de964792fe429211a3e540e05c8cf640660e2ca 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-377,7
+377,7
@@
sub filter_snapshot_fmts {
}
# version of the core git binary
-our $git_version = qx(
$GIT
--version) =~ m/git version (.*)$/ ? $1 : "unknown";
+our $git_version = qx(
"$GIT"
--version) =~ m/git version (.*)$/ ? $1 : "unknown";
$projects_list ||= $projectroot;