1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2025-06-04 00:23:58 +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() {
[[ -z $DEBUG ]] || printf "\e[1;32m%s\e[0m\n" "$GIT_PROGRAM ${*@Q}" >&2
"$GIT_PROGRAM" "$@"
[[ -z $DEBUG ]] || printf "\e[1;32m%s\e[0m\n" "'$GIT_PROGRAM' '-C' '$PWD' ${*@Q}" >&2
"$GIT_PROGRAM" "-C" "$PWD" "$@"
}
# ****** Alternate Processing ******