git-rebase: fix typo when parsing --force-rebase
Due to two missing hyphens, The "force" keyword on the command line would be taken as an alias for the --force-rebase option. Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Willy Tarreau committed
Aug 8, 2010 at 07:13 UTC
1bc6bf6dea0ec3703f2844d838207f2b31ef4ff8
1 file changed
+1
-1
git-rebase.sh
+1
-1
@@ -346,7 +346,7 @@ do
346
--root)
347
rebase_root=t
348
;;
349
- -f|--f|--fo|--for|--forc|force|--force-r|--force-re|--force-reb|--force-reba|--force-rebas|--force-rebase|--no-ff)
349
+ -f|--f|--fo|--for|--forc|--force|--force-r|--force-re|--force-reb|--force-reba|--force-rebas|--force-rebase|--no-ff)
350
force_rebase=t
351
;;
352
--rerere-autoupdate|--no-rerere-autoupdate)