mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Merge pull request #738 from StuartFeldt/add-symlinks-to-bulk-command
Adding support for symlinked dirs in bulk command
This commit is contained in:
commit
49fab7267b
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue