blob: 4e34efe216c8afd7b0e3ed87e0f4457fb1381b1f (
plain)
1
2
3
4
5
6
7
|
#!/bin/sh
# This script is used as the command supplied to GIT_ASKPASS as a way to supply username/password
# credentials to git, without having to use git credentials helpers, or having on-disk config.
case "$1" in
Username*) echo "${GIT_USERNAME}" ;;
Password*) echo "${GIT_PASSWORD}" ;;
esac
|