From aea25d2d4b27fdc15ce6a8f61ca55aec361d1859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Grill?= Date: Wed, 28 Dec 2022 02:11:53 +0100 Subject: [PATCH] Fix quiet mode of the bulk command (#1014) Co-authored-by: guenthgr --- bin/git-bulk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/git-bulk b/bin/git-bulk index a4e0c79..6cbece2 100755 --- a/bin/git-bulk +++ b/bin/git-bulk @@ -132,7 +132,7 @@ function executBulkOp () { if [[ -n $wsname ]] && [[ $rwsname != "$wsname" ]]; then continue; fi eval cd "\"$rwsdir\"" local actual=$(pwd) - [ "${quiet?}" != "false" ] && echo 1>&2 "Executing bulk operation in workspace ${inverse}$actual${reset}" + [ "${quiet?}" != "true" ] && echo 1>&2 "Executing bulk operation in workspace ${inverse}$actual${reset}" allGitFolders=( $(eval find -L . -name ".git") ) @@ -141,7 +141,7 @@ function executBulkOp () { eval cd "\"$gitrepodir\"" # into git repo location local curdir=$(pwd) local leadingpath=${curdir#${actual}} - [ "${quiet?}" != "false" ] && echo 1>&2 "Current repository: ${leadingpath%/*}/${bldred}${curdir##*/}${reset}" + [ "${quiet?}" != "true" ] && echo 1>&2 "Current repository: ${leadingpath%/*}/${bldred}${curdir##*/}${reset}" guardedExecution "$@" eval cd "\"$rwsdir\"" # back to origin location of last find command done