git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clone: fix options '-o' and '--origin' to be recognised again
@ 2007-12-19  9:15 Marco Roeland
  2007-12-19  9:45 ` Junio C Hamano
  2007-12-19 15:43 ` Jeff King
  0 siblings, 2 replies; 3+ messages in thread
From: Marco Roeland @ 2007-12-19  9:15 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Pierre Habouzit, Kristian Høgsberg

Due to a subtle typo in a shell case pattern neither alternative worked.

Signed-off-by: Marco Roeland <marco.roeland@xs4all.nl>
---

 This is a regression in 'next', introduced on Nov 4th by commit 94362599
 "Migrate git-clone to use git-rev-parse --parseopt". Added Kristian as
 he works on the builtin version; perhaps nice for a test case (!).

 git-clone.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-clone.sh b/git-clone.sh
index 9a160ee..b4e858c 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
 		'')
-- 
1.5.4.rc0.1162.g3bfea

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-19 15:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-19  9:15 [PATCH] clone: fix options '-o' and '--origin' to be recognised again Marco Roeland
2007-12-19  9:45 ` Junio C Hamano
2007-12-19 15:43 ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).