зеркало из https://github.com/microsoft/git.git
gitweb: Make it work with $GIT containing spaces
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>
This commit is contained in:
Родитель
1d284cbae3
Коммит
66115d363a
|
@ -377,7 +377,7 @@ if (-e $GITWEB_CONFIG) {
|
|||
}
|
||||
|
||||
# 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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче