Skip to content

Commit 01e2494

Browse files
authored
Merge pull request #987 from spacewander/fgz
git-bulk: previous refactor redirected $PWD to stderr by mistake
2 parents 9accb6b + e3c8359 commit 01e2494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/git-bulk

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function wsnameToCurrent () {
108108
while read workspace; do
109109
if [ -z "$workspace" ]; then continue; fi
110110
parseWsName "$workspace"
111-
if echo 1>&2 "$PWD" | grep -o -q "$rwsdir"; then wsname="$rwsname" && return; fi
111+
if echo "$PWD" | grep -o -q "$rwsdir"; then wsname="$rwsname" && return; fi
112112
done <<< "$(echo "$(listall)")"
113113
# when here then not in workspace dir
114114
echo 1>&2 "error: you are not in a workspace directory. your registered workspaces are:" && \

0 commit comments

Comments
 (0)