On Fri, Oct 08, 2010 at 08:58:26PM -0500, Norbert Thiebaud <nthiebaud@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'? :)
Attachment:
pgpROUZ7yyXjt.pgp
Description: PGP signature