From 3730339067f1687b099dcb73cb3a1dee98328219 Mon Sep 17 00:00:00 2001 From: Stu Feldt Date: Mon, 10 Dec 2018 11:07:49 -0600 Subject: [PATCH] Adding support for symlink directories in bulk command --- bin/git-bulk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-bulk b/bin/git-bulk index ec70490..9f9f634 100755 --- a/bin/git-bulk +++ b/bin/git-bulk @@ -109,7 +109,7 @@ function executBulkOp () { eval cd "\"$rwsdir\"" local actual=$(pwd) echo "Executing bulk operation in workspace ${invers}$actual${reset}" - eval find . -name ".git" | while read line; do + eval find -L . -name ".git" | while read line; do local gitrepodir=${line::${#line}-5} # cut the .git part of find results to have the root git directory of that repository eval cd "\"$gitrepodir\"" # into git repo location local curdir=$(pwd)