threads / discuss / 7501

StGit patchname numeric prefix?

Subject: StGit patchname numeric prefix?

## tl;dr

3 messages between Apr 3, 2007 and Apr 3, 2007.

replies: 2people: 2as markdown or json

Jamie Border· Apr 3, 2007, 11:49 UTC · lore
Hello.
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.
I'm probably wrong, though.
Cheers
Jamie
Catalin Marinas· Apr 3, 2007, 14:37 UTC · re: Jamie Border · lore

Re: StGit patchname numeric prefix?

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
Jamie Border· Apr 3, 2007, 15:31 UTC · re: Catalin Marinas · lore

Re: StGit patchname numeric prefix?

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

← back to recent threads