Skip to content

Commit 2e475da

Browse files
author
Tristan Carel
committed
Do not fetch/rebase all sub-directories.
1 parent 018f649 commit 2e475da

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

git-svn-externals-update

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
for dir in *; do
4-
if [ -d $dir ]; then
5-
cd $dir
6-
echo $dir
7-
git svn fetch
8-
git svn rebase
9-
cd ..
4+
if [ -d "$dir/.git" ]; then
5+
cd $dir
6+
echo $dir
7+
git svn fetch
8+
git svn rebase
9+
cd ..
1010
fi
11-
done
11+
done

0 commit comments

Comments
 (0)