git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git tag --contains for cherry-picks
@ 2016-06-29 11:48 Laszlo Papp
  2016-06-30  6:22 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: Laszlo Papp @ 2016-06-29 11:48 UTC (permalink / raw)
  To: Git List

Dear List,

We have several release branches as well as a master branch where the
active development happens.

Old releases are maintained with important bug fixes or even new features
in our case. It sometimes means that we need to cherry-pick commits across
branches, like from master to a specific release branch.

Cherry-picking changes the hash of the commit, therefore, this may no
longer work for cherry-picks:

git tag --contains

I am thinking of having something like:

git tag --contains-follow

which would follow cherry-picks. I am not sure how easily and/or
efficiently this can be implemented, but my gut feeling is that in the vast
majority of the cases, the content check would bail out already at the
"subject line".

Again, just to recap: I would like to be able to list of releases (i.e.
tags) in which a commit occurs even if it is cherry-picked because what
matters for us in the end of the day is whether the feature or bugfix goes
into a release.

Best Regards,
Laszlo Papp

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-30 10:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-29 11:48 git tag --contains for cherry-picks Laszlo Papp
2016-06-30  6:22 ` Jeff King
2016-06-30 10:41   ` Jakub Narębski

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).