Skip to contentSkip to conversation

fix git-revert command-line options

PATCH New Michael 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore

Michael

author
#0 lore raw

PATCH 1/1 fix git-revert command-line options

---
 git-revert.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
git-revert.sh +2 -2
index 2bf35d1..195c3ba 100755
@@ -22,14 +22,14 @@ no_commit= replay=
 while case "$#" in 0) break ;; esac
 do
 	case "$1" in
-	-n|--n|--no|--no-|--no-c|--no-co|--no-com|--no-comm|\
+	-n|--no-c|--no-co|--no-com|--no-comm|\
 	    --no-commi|--no-commit)
 		no_commit=t
 		;;
 	-e|--e|--ed|--edi|--edit)
 		edit=-e
 		;;
-	--n|--no|--no-|--no-e|--no-ed|--no-edi|--no-edit)
+	--n|--no-e|--no-ed|--no-edi|--no-edit)
 		edit=
 		;;
 	-r|--r|--re|--rep|--repl|--repla|--replay)
Signature · 1 line
1.4.1