StGit patchname numeric prefix?
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
Quoted 9 lines · Jamie Border
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?
Signature · 1 line
Catalin
Quoted 8 lines · Catalin Marinas
Quoted 7 lines · Jamie Border
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'.
Quoted 8 lines
Quoted 2 lines
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
Quoted 3 lines
Signature · 2 lines
-- Catalin