From: Junio C Hamano <gitster@pobox.com>
To: "Stephen R. van den Berg" <srb@cuci.nl>
Cc: git@vger.kernel.org
Subject: Re: [RFC] cherry-pick using multiple parents to implement -x
Date: Sun, 07 Sep 2008 16:53:12 -0700 [thread overview]
Message-ID: <7vhc8rjyxj.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <20080907103415.GA3139@cuci.nl> (Stephen R. van den Berg's message of "Sun, 7 Sep 2008 12:34:15 +0200")
"Stephen R. van den Berg" <srb@cuci.nl> writes:
> - And depending on an affirmative on the previous question, would it be
> acceptable to teach the gitk preceding/following tag listing to deal
> with these backport/forwardports ?
Even though the answer to "the previous question" is a solid no, it is not
just acceptable but it would be very useful to teach gitk that the commit
you cherry-picked from is somehow related to the resulting commit from the
cherry-picking, and teach it to give you an easy access (and even a visual
cue about their relationship) to the other commit when it is showing the
cherry-picked commit.
I think the commit object name -x records in the commit message of the
cherry-picked one is noticed by gitweb to give you an easy access. You
could teach gitk a similar trick, and that would not just help cherry
picking but also reverts, and a fix-up commit that says "This fixes the
regression introduced by commit 90ff09a5".
You could further draw _different_ kind of line on the upper "graph" pane,
to show that a commit is _related_ to another commit. Because cherry-pick
relation is about the resulting commit and the _single_ commit that was
cherry-picked (in other words, the parent of the cherry-picked original
does not have _any_ relation to the commit that results from the
cherry-pick), such a line should be visually very distinct from the usual
parent-child relationship, which is the gitk graph (or any other commit
ancestry graph) is about. But if it can be represented clearly, I'd
imagine that it would be interesting to see.
next prev parent reply other threads:[~2008-09-07 23:54 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-07 10:34 [RFC] cherry-pick using multiple parents to implement -x Stephen R. van den Berg
2008-09-07 17:28 ` Jeff King
2008-09-07 19:56 ` Stephen R. van den Berg
2008-09-07 20:04 ` Jeff King
2008-09-07 20:22 ` Stephen R. van den Berg
2008-09-08 1:49 ` Jeff King
2008-09-08 6:57 ` Stephen R. van den Berg
2008-09-07 17:28 ` Junio C Hamano
2008-09-07 20:10 ` Stephen R. van den Berg
2008-09-07 21:16 ` Thomas Rast
2008-09-07 22:22 ` Junio C Hamano
2008-09-07 22:00 ` Junio C Hamano
2008-09-08 7:37 ` Paolo Bonzini
2008-09-08 7:55 ` Junio C Hamano
2008-09-07 23:53 ` Junio C Hamano [this message]
2008-09-08 11:51 ` Stephen R. van den Berg
2008-09-08 13:04 ` Paolo Bonzini
2008-09-08 13:42 ` Stephen R. van den Berg
2008-09-08 14:37 ` Jakub Narebski
2008-09-08 14:57 ` Paolo Bonzini
2008-09-08 14:38 ` Shawn O. Pearce
2008-09-08 14:58 ` Stephen R. van den Berg
2008-09-08 15:00 ` Shawn O. Pearce
2008-09-09 8:51 ` Stephen R. van den Berg
2008-09-08 15:04 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vhc8rjyxj.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=srb@cuci.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).