1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2025-06-06 09:34:00 +00:00

Add printing git's working directory.

This commit is contained in:
Christof Warlich 2025-01-04 10:28:51 +01:00
parent 22f20a1b00
commit 151db19bf4

4
yadm
View File

@ -163,8 +163,8 @@ function main() {
} }
git_program() { git_program() {
[[ -z $DEBUG ]] || printf "\e[1;32m%s\e[0m\n" "$GIT_PROGRAM ${*@Q}" >&2 [[ -z $DEBUG ]] || printf "\e[1;32m%s\e[0m\n" "'$GIT_PROGRAM' '-C' '$PWD' ${*@Q}" >&2
"$GIT_PROGRAM" "$@" "$GIT_PROGRAM" "-C" "$PWD" "$@"
} }
# ****** Alternate Processing ****** # ****** Alternate Processing ******