mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
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>
This commit is contained in:
parent
9ef2b3cbf6
commit
2c4ed386e8
|
@ -73,7 +73,7 @@ while
|
||||||
*,-n) no_checkout=yes ;;
|
*,-n) no_checkout=yes ;;
|
||||||
*,-l|*,--l|*,--lo|*,--loc|*,--loca|*,--local) use_local=yes ;;
|
*,-l|*,--l|*,--lo|*,--loc|*,--loca|*,--local) use_local=yes ;;
|
||||||
*,-s|*,--s|*,--sh|*,--sha|*,--shar|*,--share|*,--shared)
|
*,-s|*,--s|*,--sh|*,--sha|*,--shar|*,--share|*,--shared)
|
||||||
local_shared=yes ;;
|
local_shared=yes; use_local=yes ;;
|
||||||
*,-q|*,--quiet) quiet=-q ;;
|
*,-q|*,--quiet) quiet=-q ;;
|
||||||
1,-u|1,--upload-pack) usage ;;
|
1,-u|1,--upload-pack) usage ;;
|
||||||
*,-u|*,--upload-pack)
|
*,-u|*,--upload-pack)
|
||||||
|
|
Loading…
Reference in a new issue