We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48f0892 commit 5a7c33dCopy full SHA for 5a7c33d
bin/git-bulk
@@ -155,7 +155,7 @@ function executBulkOp () {
155
find_flags+=(-L)
156
fi
157
# find all git repositories under the workspace on which we want to operate
158
- allGitFolders=( $(eval find $find_flags . -name ".git") )
+ readarray allGitFolders < <(find "${find_flags[@]}" . -name ".git")
159
160
for line in "${allGitFolders[@]}"; do
161
local gitrepodir=${line::${#line}-5} # cut the .git part of find results to have the root git directory of that repository
0 commit comments