Luben Tuikov <ltuikov@xxxxxxxxx> writes: > --- Luben Tuikov <ltuikov@xxxxxxxxx> wrote: >> Has anyone successfully used "git-revert" from branch next, lately? Yes, and it is actually in "master". Thanks for noticing before I declared -rc2. -- >8 -- Fix git-revert Defaulting to $replay for the sake of fixing cherry-pick was not done conditionally, which broke git-revert. Noticed by Luben. Signed-off-by: Junio C Hamano <junkio@xxxxxxx> --- git-revert.sh | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/git-revert.sh b/git-revert.sh index 0784f74..4fd81b6 100755 --- a/git-revert.sh +++ b/git-revert.sh @@ -7,9 +7,11 @@ # case "$0" in *-revert* ) test -t 0 && edit=-e + replay= me=revert USAGE='[--edit | --no-edit] [-n] <commit-ish>' ;; *-cherry-pick* ) + replay=t edit= me=cherry-pick USAGE='[--edit] [-n] [-r] [-x] <commit-ish>' ;; @@ -18,7 +20,7 @@ case "$0" in esac . git-sh-setup -no_commit= replay=t +no_commit= while case "$#" in 0) break ;; esac do case "$1" in -- 1.4.2.3.g2c59 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html