1
0
Fork 0
mirror of synced 2024-06-01 23:01:10 -04:00

Use hub for Git commands which are "passed thru" (#30)

This commit is contained in:
Tim Byrne 2017-01-05 17:26:05 -06:00
parent 05ed83ea34
commit 330082d73f
No known key found for this signature in database
GPG key ID: 6CBE24C2FD8CF76E

3
yadm
View file

@ -30,6 +30,7 @@ YADM_ENCRYPT="encrypt"
YADM_ARCHIVE="files.gpg" YADM_ARCHIVE="files.gpg"
GPG_PROGRAM="gpg" GPG_PROGRAM="gpg"
GIT_PROGRAM="hub"
LS_PROGRAM="/bin/ls" LS_PROGRAM="/bin/ls"
#; flag when something may have changes (which prompts auto actions to be performed) #; flag when something may have changes (which prompts auto actions to be performed)
@ -298,7 +299,7 @@ function git_command() {
fi fi
#; pass commands through to git #; pass commands through to git
git "$@" "$GIT_PROGRAM" "$@"
CHANGES_POSSIBLE=1 CHANGES_POSSIBLE=1