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:
parent
09a018ea5a
commit
cf36832d09
4
yadm
4
yadm
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user