From: Johannes Schindelin Date: Tue, 11 Dec 2007 11:54:54 GMT Subject: Re: [PATCH] Fix clone not to ignore depth when performing a local clone Message-ID: In-Reply-To: <20071211064731.GA30525@hashpling.org> Hi, On Tue, 11 Dec 2007, Charles Bailey wrote: > @@ -205,7 +205,10 @@ fi > # it is local > if base=$(get_repo_base "$repo"); then > repo="$base" > - local=yes > + if test -z "$depth" > + then > + local=yes > + fi > fi Or shorter: - local=yes + test -z "$depth" && local=yes Ciao, Dscho