1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2025-06-13 13:03:58 +00:00

Repalce git command with $GIT_PROGRAM

This commit is contained in:
Herbert Shen 2018-11-12 23:37:36 +08:00
parent 09a018ea5a
commit cf36832d09

4
yadm
View File

@ -376,13 +376,13 @@ EOF
#; operate on the yadm repo's configuration file #; operate on the yadm repo's configuration file
#; this is always local to the machine #; this is always local to the machine
git config --local "$@" $GIT_PROGRAM config --local "$@"
CHANGES_POSSIBLE=1 CHANGES_POSSIBLE=1
else else
#; operate on the yadm configuration file #; operate on the yadm configuration file
git config --file="$(mixed_path "$YADM_CONFIG")" "$@" $GIT_PROGRAM config --file="$(mixed_path "$YADM_CONFIG")" "$@"
fi fi