You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
182 B

  1. #!/bin/sh
  2. CERT="$(git config http.sslcert 2> /dev/null)"
  3. KEY="$(git config http.sslkey 2> /dev/null)"
  4. exec /usr/bin/curl \
  5. ${KEY:+--key "$KEY"} \
  6. ${CERT:+--cert "$CERT"} \
  7. "$@"