We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6f8828 commit 27d3bd0Copy full SHA for 27d3bd0
bin/git-bulk
@@ -174,7 +174,7 @@ function executBulkOp () {
174
local curdir=$PWD
175
local leadingpath=${curdir#"${actual}"}
176
# do not execute if we do not want to consider a ".git" directory under a hidden directory
177
- if [[ ! ( $no_follow_hidden == true && "$leadingpath" =~ "/." ) ]]; then
+ if [ $no_follow_hidden = false ] || ! [ "$leadingpath" =~ "/." ]; then
178
guardedExecution "$@"
179
fi
180
cd "$rwsdir" || exit 1 # back to origin location of last find command
0 commit comments