Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Roeland <marco.roeland@xs4all.nl>2007-12-19 12:15:15 +0300
committerJunio C Hamano <gitster@pobox.com>2007-12-20 01:59:18 +0300
commit9d81e03b5ca4e3841d56e6e57ff2b8100202ed6f (patch)
tree760d10079cc9ce713f9b317ff170719ee93d2b4c /git-clone.sh
parent56122ed87af181c88e3121795c292689ac574f01 (diff)
clone: fix options '-o' and '--origin' to be recognised again
Due to a subtle typo in a shell case pattern neither alternative worked. Signed-off-by: Marco Roeland <marco.roeland@xs4all.nl> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-clone.sh')
-rwxr-xr-xgit-clone.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-clone.sh b/git-clone.sh
index 9a160eea52..b4e858c388 100755
--- a/git-clone.sh
+++ b/git-clone.sh
@@ -152,7 +152,7 @@ do
die "clones are always made with separate-remote layout" ;;
--reference)
shift; reference="$1" ;;
- -o,--origin)
+ -o|--origin)
shift;
case "$1" in
'')