On Tue, Sep 09, 2008 at 03:22:12PM +0200, "Stephen R. van den Berg" <srb@cuci.nl> wrote:
First, sorry for joining the thread lately, as far as I see the idea I
want to shere here was not mentioned by anybody yet.
So, git revert already includes the "origin" of the commit in the commit
message, and I think that is fine for most people.
What about adding an option to cherry-pick to add a similar
"commit 7b27718bdb1b70166383dec91391df5534d449ee upstream" or similar
string to the commit message?
As far as I see the kernel -stable tree already have this, but it is
added manually and in many different forms, like:
[ Upstream commit 5f3a9a207f1fccde476dd31b4c63ead2967d934f ]
commit 7b27718bdb1b70166383dec91391df5534d449ee upstream
Already in Linus' tree:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b25b791b13...
etc.
Once git would provide a standard way to do this, that could be used to
avoid this.