From 330082d73f8c91e93ab67e814bcc38bae1d2113e Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Thu, 5 Jan 2017 17:26:05 -0600 Subject: [PATCH] Use `hub` for Git commands which are "passed thru" (#30) --- yadm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yadm b/yadm index 8914183..ff7f5ca 100755 --- a/yadm +++ b/yadm @@ -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