Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH] Fix clone not to ignore depth when performing a local clone

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:58

Hi,

On Tue, 11 Dec 2007, Charles Bailey wrote:
quoted hunk ↗ jump to hunk
@@ -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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help