diff --git a/git-credential-luci b/git-credential-luci index e0a6811cde..08e76bb3ec 100755 --- a/git-credential-luci +++ b/git-credential-luci @@ -6,6 +6,12 @@ # See revert instructions in cipd_manifest.txt +# In git bash on Windows, invoke the batch file. +if [ "$(expr "$(uname -s)" : "^MINGW64_NT")" == "10" ]; then + git-credential-luci.bat "$@" + exit +fi + MYPATH=$(dirname "${BASH_SOURCE[0]}") source "$MYPATH/cipd_bin_setup.sh"