git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git/cogito usage scenarios for CVS refugee

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Jun 8, 2005, 20:26 UTC
Message-ID
<46a038f9050608132625803d@mail.gmail.com>
In-Reply-To
<20050608183414.GD982@pasky.ji.cz>
On 6/9/05, Petr Baudis <pasky@ucw.cz> wrote:
> The answer for all those questions is that git has no support for
> cherrypicking (that sucks, but is hard to fix right now). git does ok
> as long as one branch is superset of the other, but it does not help you
> otherwise.

Agreed -- there's no support for cherry picking. Is there some git-specific strategy perhaps?

For example, when using cvs, which doesn't support cherry picking either, people running "stable" branches use a "merged" tag that they move around to indicate how far the bugfixes on the stable branch have been merged into head. It doesn't allow cherry picking, but it works and it is a valuable (if hackish) practice.

Show 5 quoted lines
> > And generally, is there any long-lived branch support? If I am to run
> > a "local branch" of the Linux kernel, does git help me at all?
> 
> I don't understand what do you mean. How does a long-lived branch differ
> from a short-lived one and what support would you expect/like?

Something along the lines of what I've mention above. I mean, not literally moving a tag around, but to have some basic suport to identify what the merge status is. As soon as we are one commit out of sync, git stops being useful.

It doesn't need to happen inside git actually -- perhaps there is just enough support to add an identifier in each commit msg, so we could have ancillary scripts that perform some simple patch tracking for simple scenarios.

When an automatic merge succeeds, does git bring in the commitmsg and a unique identifier of the commit?

cheers,
martin
Previous: Petr Baudis
Message 3 of 3 in “git/cogito usage scenarios for CVS refugee”
  1. Martin LanghoffJun 8, 2005
  2. Petr BaudisJun 8, 2005
  3. Martin LanghoffJun 8, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.