From: Pavel Roskin Date: Tue, 29 Nov 2005 06:20:49 +0000 (-0500) Subject: git-clone --shared should imply --local X-Git-Tag: v0.99.9l^2~33 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2c4ed386e8861e730037abe4f4d9e032c5c46242;p=git.git git-clone --shared should imply --local The "--shared" option to git-clone is silently ignored if "--local" is not specified. The manual doesn't mention such dependency. Make "--shared" imply "--local". Signed-off-by: Pavel Roskin Signed-off-by: Junio C Hamano --- diff --git a/git-clone.sh b/git-clone.sh index c09979a7a..699205eb6 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -73,7 +73,7 @@ while *,-n) no_checkout=yes ;; *,-l|*,--l|*,--lo|*,--loc|*,--loca|*,--local) use_local=yes ;; *,-s|*,--s|*,--sh|*,--sha|*,--shar|*,--share|*,--shared) - local_shared=yes ;; + local_shared=yes; use_local=yes ;; *,-q|*,--quiet) quiet=-q ;; 1,-u|1,--upload-pack) usage ;; *,-u|*,--upload-pack)