Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions projects/git-scm.org/git-shim
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ find_git_subcommand() {

libexec="$(cd "$(dirname "$0")/.." && pwd)"/libexec

# If http.sslCAInfo is set, then we need to unset
# GIT_SSL_CAINFO to respect it.
if "$libexec/git" config --get http.sslCAInfo >/dev/null 2>&1; then
unset GIT_SSL_CAINFO
fi

# extract the git subcommand
cmd=$(find_git_subcommand "$@")

Expand Down
Loading