git-daemon-verify: support GIT_DAEMON_BIN to override cfg_git_daemon_bin
commitb8157af737da0b1dbefb58c8de5027b23fb60b5f
authorKyle J. McKay <mackyle@gmail.com>
Fri, 13 Feb 2015 12:04:27 +0000 (13 04:04 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 13 Feb 2015 12:04:27 +0000 (13 04:04 -0800)
tree57ca80df354ec6c0c4ae7305fe6b6171b269a2ef
parenteaea9cc6db657d978828431b3e5e555d6a20f8ff
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