3 # Look for the Git root directory
5 while [ ! "$ROOT" = "" -a ! -d $ROOT/.git
]; do
10 if [ ! -f .git
/config
]; then
11 echo Must be run inside a Git repository
15 svnrepo
=`awk '$1=="[svn-remote"{GET=1} \
16 $1=="url" && GET==1 {print $3}' .git/config`
18 echo Looking
for empty directories from
$svnrepo
22 svn list
-R $svnrepo > $FILE
26 if [ "${entry: -1:1}" == "/" ]; then
27 if [ ! -d "$entry" ]; then