From b8157af737da0b1dbefb58c8de5027b23fb60b5f Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Fri, 13 Feb 2015 04:04:27 -0800 Subject: [PATCH] git-daemon-verify: support GIT_DAEMON_BIN to override cfg_git_daemon_bin If GIT_DAEMON_BIN is set in the environment, use that as the full path to git-daemon rather than the value of cfg_daemon_bin. This mirrors the functionality of GIT_HTTP_BACKEND_BIN as used with the git-http-backend-verify script. --- bin/git-daemon-verify | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/git-daemon-verify b/bin/git-daemon-verify index d12a517..04da586 100755 --- a/bin/git-daemon-verify +++ b/bin/git-daemon-verify @@ -19,6 +19,7 @@ if [ -n "$defined_cfg_git_server_ua" ]; then export GIT_HTTP_USER_AGENT fi +[ -z "$GIT_DAEMON_BIN" ] || cfg_git_daemon_bin="$GIT_DAEMON_BIN" [ -n "$cfg_git_daemon_bin" ] || \ cfg_git_daemon_bin="$($cfg_git_bin --exec-path)/git-daemon" -- 2.11.4.GIT