Thread (11 messages) flat view 11 messages, 2 authors, 2016-06-15

Re: [PATCH] Allow cherry-picking root commits

From: Stephan Beyer <hidden>
Date: 2016-06-15 22:44:53

Possibly related (same subject, not in this thread)

On Fri, Jul 04, 2008 at 04:19:52PM +0100, Johannes Schindelin wrote:
	Anyhow, I give up on trying to convince you.
Great :)
Big thanks for the patch!

It also works with my rebase-i variant with just an unimportant "fatal"
which can be shut up by
--- a/git-sequencer.sh
+++ b/git-sequencer.sh
@@ -211,7 +211,7 @@ pick_one () {
 		;;
 	cherry-pick,*)
 		# fast forward
-		if test "$(git rev-parse --verify "$1^")" = \
+		if test "$(git rev-parse --verify "$1^" 2>/dev/null)" = \
 			"$(git rev-parse --verify HEAD)"
 		then
 			perform git reset --hard "$1"
###

Regards.

-- 
Stephan Beyer [off-list ref], PGP 0x6EDDD207FCC5040F
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help