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

Re: StGit patchname numeric prefix?

From
JBJamie Border <jborder@gmail.com>
Date
Apr 3, 2007, 15:31 UTC
Message-ID
<874pnxqxsj.fsf@gmail.com>
In-Reply-To
<tnx648d5xs9.fsf@arm.com>
Catalin Marinas <catalin.marinas@arm.com> writes:
Show 16 quoted lines
> Jamie Border <jborder@gmail.com> wrote:
>> 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?
0.11, which doesn't do that <g>.
Just changed to 0.12, which works great.
Many thanks, saved me hours and hours :-)
Jamie
>
> -- 
> Catalin
Previous: Catalin Marinas
Message 3 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.