mirror of
https://github.com/TheLocehiliosan/yadm
synced 2024-10-27 20:34:27 +00:00
Use hub
for Git commands which are "passed thru" (#30)
This commit is contained in:
parent
05ed83ea34
commit
330082d73f
3
yadm
3
yadm
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user