Permalink
Browse files

Follow symlinks when finding repositories.

  • Loading branch information...
1 parent 752faa0 commit 650faac14afcbc5c3806a04c864ddf9c6b3cd82a @MikeMcQuaid committed Jan 26, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 git-gc-global
  2. +1 −1 git-set-email-global
  3. +1 −1 scm-update.sh
View
@@ -11,7 +11,7 @@ echorun() {
$*
}
-for SCM in $(find $CURRENT -name .git)
+for SCM in $(find -L $CURRENT -name .git)
do
DIRECTORY=$(dirname $SCM)
cd $DIRECTORY
@@ -8,7 +8,7 @@ CURRENT=$PWD
IFS="
"
-for SCM in $(find $CURRENT -name .git)
+for SCM in $(find -L $CURRENT -name .git)
do
DIRECTORY=$(dirname $SCM)
cd $DIRECTORY
View
@@ -11,7 +11,7 @@ echorun() {
$*
}
-for SCM in $(find $CURRENT -name .git) $(find $CURRENT -name .svn)
+for SCM in $(find -L $CURRENT -name .git) $(find $CURRENT -name .svn)
do
DIRECTORY=$(dirname $SCM)
cd $DIRECTORY

0 comments on commit 650faac

Please sign in to comment.