Compare commits

..

No commits in common. "c0c8dd5ecacc70cd0471a7d7cf55a97a75425c5a" and "de8c0781b9b3e703997a803b02513fecd11b08ea" have entirely different histories.

2 changed files with 2 additions and 21 deletions

View File

@ -12,7 +12,6 @@ while true ; do
echo "Options:"
echo " -h --help - print this message and exit"
echo " -r --recursive - list directories recursively"
echo " -d --dirs-only - list directories only"
echo
echo "Repository list can be constructed from an existing set of repositories via:"
echo " $ git listall > reposiotry.lst"
@ -35,12 +34,6 @@ while true ; do
continue
;;
-d|--dirs-only)
DIRS_ONLY=1
shift
continue
;;
-*|--*)
echo "Error: unknown option: \"$1\"" >&2
exit
@ -53,17 +46,6 @@ while true ; do
esac
done
# prepare putput...
prep(){
if ! [ -z $DIRS_ONLY ] ; then
sed -e 's/=.*//'
else
cat
fi
}
TARGET_PATH=${TARGET_PATH:=.}
cd "$TARGET_PATH"
@ -96,8 +78,7 @@ lines=()
fi
} \
| sort \
| uniq -u \
| prep
| uniq -u

View File

@ -35,7 +35,7 @@ TARGET_PATH=${TARGET_PATH:=.}
cd "$TARGET_PATH"
IFS=$'\n'
DIRS=($(git listall -d ${RECURSIVE}))
DIRS=($(git listall ${RECURSIVE}))
# inside a repo...
if [ -d ./.git ] ; then