cmd=$1
shift
+d00=`pwd`
+case "$0" in
+ */*)
+ cd "${0%/*}"
+ ;;
+esac
+
d0=`pwd`
case "$cmd" in
update|pull)
;;
esac
verbose git pull
- cd "$d0"
+ cd "$d00"
checkself "$0" "$@"
cd "$d0/$d"
verbose git remote prune origin
else
verbose git checkout master
fi
- cd "$d0"
+ cd "$d00"
checkself "$0" "$@"
+ cd "$d0"
done
if ! $exists; then
echo "The requested branch was not found in any repository."