mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
fix(git-bulk): quiet find errors by default (#1196)
This commit is contained in:
parent
82cc37d0f5
commit
1a9b0c2ab4
|
|
@ -146,7 +146,7 @@ function executBulkOp () {
|
|||
local actual=$PWD
|
||||
[ "${quiet?}" != "true" ] && echo 1>&2 "Executing bulk operation in workspace ${inverse}$actual${reset}"
|
||||
|
||||
allGitFolders=( $(eval find -L . -name ".git") )
|
||||
allGitFolders=( $(eval find -L . -name ".git" 2>/dev/null) )
|
||||
|
||||
for line in "${allGitFolders[@]}"; do
|
||||
local gitrepodir=${line::${#line}-5} # cut the .git part of find results to have the root git directory of that repository
|
||||
|
|
|
|||
Loading…
Reference in a new issue