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

Re: StGit question

From
Karl Hasselström <kha@treskal.com>
Date
Sep 12, 2008, 15:40 UTC
Message-ID
<20080912154036.GC31240@diana.vm.bytemark.co.uk>
In-Reply-To
<48CA6367.9020300@gmail.com>
On 2008-09-12 07:41:11 -0500, Clark Williams wrote:
Show 5 quoted lines
> Ahhhh, no I hadn't found this. Cool! I wonder if I could save the
> series in the branch, so that someone could just checkout the branch
> and do:
>
>   $ stg uncommit $(cat stg-series)

The patch stack log contains all the required info, so this should be doable (given that you share your <branchname>.stgit branch, which is the patch stack log).

> Or, maybe I'll look at adding a --series or --file option to
> uncommit?

Sure, that sounds like a good idea. I believe there are existing commands that take a series file argument; check what they call their flag.

> I suspect some chicken-and-egg problems here, but this is workable.
> And when you're talking >500 patches, anything you can do to
> automate is a wonderful thing :).

Nice to know StGit is being used with series of that size. I usually never go beyond about 30 myself, so there are certain types of scalability problems that I won't see.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Clark WilliamsNext: Catalin Marinas
Message 4 of 6 in “StGit question”
  1. Clark WilliamsSep 11, 2008
  2. Karl HasselströmSep 12, 2008
  3. Clark WilliamsSep 12, 2008
  4. Karl HasselströmSep 12, 2008
  5. Catalin MarinasSep 12, 2008
  6. Catalin MarinasSep 12, 2008

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.