@matheusbsbs / matheus-bagliano / commits / 2c4ed386e8
Fork 0

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 <proski@gnu.org> Signed-off-by: Junio C Hamano <junkio@cox.net>

Pavel Roskin committed Nov 29, 2005 at 01:20 UTC 2c4ed386e8861e730037abe4f4d9e032c5c46242
1 file changed +1 -1
git-clone.sh
+1 -1
@@ -73,7 +73,7 @@ while
73 *,-n) no_checkout=yes ;;
74 *,-l|*,--l|*,--lo|*,--loc|*,--loca|*,--local) use_local=yes ;;
75 *,-s|*,--s|*,--sh|*,--sha|*,--shar|*,--share|*,--shared)
76 - local_shared=yes ;;
76 + local_shared=yes; use_local=yes ;;
77 *,-q|*,--quiet) quiet=-q ;;
78 1,-u|1,--upload-pack) usage ;;
79 *,-u|*,--upload-pack)