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

Re: Converting commits to patch files? HEAD vs HEAD^

From
Junio C Hamano <junkio@cox.net>
Date
Jul 9, 2005, 02:41 UTC
Message-ID
<7vvf3k1z28.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20050709013859.GA11947@buici.com>
>>>>> "MS" == Marc Singer <elf@buici.com> writes:

MS> If I've made several commits, I'd like to be able to gather several MS> together and produce a patch file. Better still, I'd like to be able MS> to pick a set of discontiguous commits an bundle them into a single MS> patch. Ought I be using tags?

    You ought to be using ...

Oh, I want to say it because the above is what I do all the time using my Porcelain on GIT, but on the other hand, officially I am _not_ working on any Porcelain, so... I am in a dilemma. I won't talk about that tool I use myself.

Although I have not looked at it myself, you may want to take a look at StGIT.

"Keeping patches, tracking upstream by primarily updating, forward porting and e-mail submitting patches" is often the development model taken by "individual developers", while "making commits primarily by accepting patches, merging with repos of other people who have similar aggregator role" is often the model used by "project leads".

The core GIT (and "git" barebone Porcelain) is geared towards "project lead" use, and I suspect Cogito would be so to a certain extent. By judging only from its description, StGIT, with its attitude ancestry of quilt, may be more comfortable to use with "individual developers" mode of operation.

Well, I'd say what I use anyway, and quickly duck ;-)
    You ought to be using ... JIT.
Previous: Linus TorvaldsNext: Catalin Marinas
Message 3 of 4 in “Converting commits to patch files? HEAD vs HEAD^”
  1. Marc SingerJul 9, 2005
  2. Linus TorvaldsJul 9, 2005
  3. Junio C HamanoJul 9, 2005
  4. Catalin MarinasJul 9, 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.