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
1 changed files with 2 additions and 1 deletions

3
yadm
View File

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