@matheusbsbs / matheus-bagliano / commits / 674b28085e
Fork 0

Add documentation for git-revert and git-cherry-pick.

* Added the -e option to the documentation of git-cherry-pick. * Added the -e and --no-commit option to git-revert. * Removed redundant case expression for -n as --no-edit (already taken by --no-commit). Signed-off-by: Nikolai Weibull <nikolai@bitwi.se> Signed-off-by: Junio C Hamano <junkio@cox.net>

Nikolai Weibull committed Dec 9, 2005 at 00:28 UTC 674b28085e89c3be37d07063b253069101669b55
3 files changed +4 -4
Documentation/git-cherry-pick.txt
+1 -1
@@ -20,7 +20,7 @@ OPTIONS
20 <commit>::
21 Commit to cherry-pick.
22
23 ---edit::
23 +-e|--edit::
24 With this option, `git-cherry-pick` will let you edit the commit
25 message prior committing.
26
Documentation/git-revert.txt
+2 -2
@@ -20,7 +20,7 @@ OPTIONS
20 <commit>::
21 Commit to revert.
22
23 ---edit::
23 +-e|--edit::
24 With this option, `git-revert` will let you edit the commit
25 message prior committing the revert. This is the default if
26 you run the command from a terminal.
@@ -29,7 +29,7 @@ OPTIONS
29 With this option, `git-revert` will not start the commit
30 message editor.
31
32 --n::
32 +-n|--no-commit::
33 Usually the command automatically creates a commit with
34 a commit log message stating which commit was reverted.
35 This flag applies the change necessary to revert the
git-revert.sh
+1 -1
@@ -38,7 +38,7 @@ do
38 -e|--e|--ed|--edi|--edit)
39 edit=-e
40 ;;
41 - -n|--n|--no|--no-|--no-e|--no-ed|--no-edi|--no-edit)
41 + --n|--no|--no-|--no-e|--no-ed|--no-edi|--no-edit)
42 edit=
43 ;;
44 -r|--r|--re|--rep|--repl|--repla|--replay)