On Fri, Oct 08, 2010 at 08:58:26PM -0500, Norbert Thiebaud <nthieb...@gmail.com> wrote: > # go up the chain until you find a .git > while [ ${current_dir} != "/" -a -d "${current_dir}" -a ! -d > "${current_dir}/.git" ] ; > do > current_dir=$(dirname "${current_dir}") > done
do you know 'git rev-parse --show-cdup'? :)
pgpGKnDfBRIbq.pgp
Description: PGP signature
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice