X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Fgit;h=c6253a2b52917000a7aed9d9e1de9c96ec5d8744;hb=0a987e270ff83bbc8f77a363be13e77e13047ff7;hp=fabea71a4e9cd31fd4ada827dfefaca625911cc8;hpb=c18e95513620e98cb01133d8911163fb7f7d5c09;p=clearscm.git diff --git a/rc/git b/rc/git index fabea71..c6253a2 100644 --- a/rc/git +++ b/rc/git @@ -16,7 +16,7 @@ function in_git_repo { pwd=$PWD - while [ "$pwd" != "/" ]; do + while [ "$pwd" != "/" -a "$pwd" != "//" ]; do if [ -d "$pwd/.git" ]; then true; return;