summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9ef2b3c)
raw | patch | inline | side by side (parent: 9ef2b3c)
author | Pavel Roskin <proski@gnu.org> | |
Tue, 29 Nov 2005 06:20:49 +0000 (01:20 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 29 Nov 2005 07:55:12 +0000 (23:55 -0800) |
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>
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>
git-clone.sh | patch | blob | history |
diff --git a/git-clone.sh b/git-clone.sh
index c09979a7a49e36b35e333b902cb0e0d689b693f4..699205eb6644aeb8668aa56abddf4f00d9af2642 100755 (executable)
--- a/git-clone.sh
+++ b/git-clone.sh
*,-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)