summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d972217)
raw | patch | inline | side by side (parent: d972217)
author | Nikolai Weibull <mailing-lists.git@rawuncut.elitemail.org> | |
Thu, 8 Dec 2005 23:28:05 +0000 (00:28 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 8 Dec 2005 23:50:14 +0000 (15:50 -0800) |
* 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>
* 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>
Documentation/git-cherry-pick.txt | patch | blob | history | |
Documentation/git-revert.txt | patch | blob | history | |
git-revert.sh | patch | blob | history |
index 744f2c9ce29d5a245fdf3266bebde624308545ee..4f323fa42a5be3feffb7eb93fd5406804b48482b 100644 (file)
<commit>::
Commit to cherry-pick.
---edit::
+-e|--edit::
With this option, `git-cherry-pick` will let you edit the commit
message prior committing.
index f471037b97ad72fc098859e60ccfeb75b559d3a3..e27c6808b3fd1fb82aefabcd7a925ccce78a8f2b 100644 (file)
<commit>::
Commit to revert.
---edit::
+-e|--edit::
With this option, `git-revert` will let you edit the commit
message prior committing the revert. This is the default if
you run the command from a terminal.
With this option, `git-revert` will not start the commit
message editor.
--n::
+-n|--no-commit::
Usually the command automatically creates a commit with
a commit log message stating which commit was reverted.
This flag applies the change necessary to revert the
diff --git a/git-revert.sh b/git-revert.sh
index 5cb02b1ec2f8a128439039dbde442d03a8763baf..9d499c4807e7e583e960232d93624303554e8b81 100755 (executable)
--- a/git-revert.sh
+++ b/git-revert.sh
-e|--e|--ed|--edi|--edit)
edit=-e
;;
- -n|--n|--no|--no-|--no-e|--no-ed|--no-edi|--no-edit)
+ --n|--no|--no-|--no-e|--no-ed|--no-edi|--no-edit)
edit=
;;
-r|--r|--re|--rep|--repl|--repla|--replay)