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

Re: StGit patchname numeric prefix?

From
CMCatalin Marinas <catalin.marinas@arm.com>
Date
Apr 3, 2007, 14:37 UTC
Message-ID
<tnx648d5xs9.fsf@arm.com>
In-Reply-To
<87odm5r833.fsf@gmail.com>
Jamie Border <jborder@gmail.com> wrote:
Show 9 quoted lines
> Is there a switch to have stgit prepend a numeric prefix to the
> patch name?
>
> I'm trying to stg uncommit -n <large_number> from a repository, and
> due to the excellent log messages, half of the patches get called
> 'empty-log-message'.
>
> I'm sure when I played with stg a while ago I found a switch to do
> that.

It automatically adds a suffix if a patch with the same name already exists, i.e. empty-log-message-0, -1, ..., -n. No extra switch is needed.

What StGIT version are you using?
-- 
Catalin
Previous: Jamie BorderNext: Jamie Border
Message 2 of 3 in “StGit patchname numeric prefix?”
  1. Jamie BorderApr 3, 2007
  2. Catalin MarinasApr 3, 2007
  3. Jamie BorderApr 3, 2007

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.