Re: multiple-commit cherry-pick?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Schindelin <Johannes.Schindelin@...>
Cc: Alex Riesen <raa.lkml@...>, Linus Torvalds <torvalds@...>, Miles Bader <miles@...>, <git@...>
Date: Monday, November 10, 2008 - 4:41 pm

Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:


I find what Alex says somewhat silly because show is always "no walk", and
range by definition means you need to walk.

But when you give that command line, Alex could also change the command to
show the HEAD and HEAD~10, by changing the way series of range parameters
are evaluated by the revision parsing machinery.  You take HEAD^..HEAD and
come up with one set (that has only one commit, HEAD), you take the next
parameter HEAD~10 and come up with another set (that also has only one
commit, HEAD~10, because show does not walk), then you take union.

I personally do not want to see that happen, though.  The way multiple
"ranges" that come from separate command line parameters combine using set
operator semantics is so useful to do something like...

	git log ko/master..master ^maint

which is my way to ask "Which commits on master are the ones that I
haven't pushed out?  By the way, I have pushed out maint already so I do
not want to see anything that is already in maint", where ko/master tracks
what I pushed out to the public repository at k.org; this query is used to
see if I can still rewrite commits when I find typo/thinko in them.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
multiple-commit cherry-pick?, Miles Bader, (Wed Nov 5, 10:45 pm)
Re: multiple-commit cherry-pick?, Alex Riesen, (Thu Nov 6, 5:37 pm)
Re: multiple-commit cherry-pick?, Linus Torvalds, (Thu Nov 6, 11:29 pm)
Re: multiple-commit cherry-pick?, Junio C Hamano, (Fri Nov 7, 1:00 am)
Re: multiple-commit cherry-pick?, Michael Radziej, (Fri Nov 7, 6:46 am)
Re: multiple-commit cherry-pick?, Alex Riesen, (Fri Nov 7, 3:12 am)
Re: multiple-commit cherry-pick?, Linus Torvalds, (Fri Nov 7, 2:08 pm)
Re: multiple-commit cherry-pick?, Alex Riesen, (Sun Nov 9, 6:25 am)
Re: multiple-commit cherry-pick?, Johannes Schindelin, (Mon Nov 10, 3:58 pm)
Re: multiple-commit cherry-pick?, Junio C Hamano, (Mon Nov 10, 4:41 pm)
Re: multiple-commit cherry-pick?, Johannes Schindelin, (Mon Nov 10, 5:34 pm)
Re: multiple-commit cherry-pick?, Alex Riesen, (Mon Nov 10, 4:24 pm)
Re: multiple-commit cherry-pick?, Johannes Schindelin, (Mon Nov 10, 5:31 pm)
Re: multiple-commit cherry-pick?, Chris Frey, (Fri Nov 14, 1:08 am)
Re: multiple-commit cherry-pick?, Linus Torvalds, (Fri Nov 14, 12:11 pm)
Re: multiple-commit cherry-pick?, Francis Galiegue, (Fri Nov 14, 2:38 pm)
Re: multiple-commit cherry-pick?, Junio C Hamano, (Fri Nov 14, 1:29 pm)
Re: multiple-commit cherry-pick?, Linus Torvalds, (Fri Nov 14, 1:41 pm)
Re: multiple-commit cherry-pick?, Linus Torvalds, (Fri Nov 14, 1:55 pm)
Re: multiple-commit cherry-pick?, Pierre Habouzit, (Sun Nov 16, 5:11 am)
Re: multiple-commit cherry-pick?, Johannes Schindelin, (Fri Nov 14, 12:59 pm)
Re: multiple-commit cherry-pick?, Johannes Schindelin, (Fri Nov 14, 10:00 am)
Re: multiple-commit cherry-pick?, Miles Bader, (Fri Nov 7, 12:38 am)
Re: multiple-commit cherry-pick?, Alex Riesen, (Fri Nov 7, 3:13 am)
Re: multiple-commit cherry-pick?, Deskin Miller, (Wed Nov 5, 11:24 pm)
Re: multiple-commit cherry-pick?, Björn, (Thu Nov 6, 5:51 am)
Re: multiple-commit cherry-pick?, Miles Bader, (Thu Nov 6, 8:14 am)
Re: multiple-commit cherry-pick?, Björn, (Thu Nov 6, 8:26 am)
Re: multiple-commit cherry-pick?, Miles Bader, (Fri Nov 7, 1:09 am)
Re: multiple-commit cherry-pick?, Björn, (Fri Nov 7, 7:03 am)
Re: multiple-commit cherry-pick?, Miles Bader, (Fri Nov 7, 7:46 am)