{"thread":{"id":"7501","subject":"StGit patchname numeric prefix?","startedAt":"2007-04-03T11:49:36Z","lastAt":"2007-04-03T15:31:56Z","messageCount":3,"participants":["Jamie Border","Catalin Marinas"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"38500","messageId":"87odm5r833.fsf@gmail.com","threadId":"7501","inReplyTo":null,"subject":"StGit patchname numeric prefix?","fromName":"Jamie Border","fromEmail":"jborder@gmail.com","sentAt":"2007-04-03T11:49:36Z","receivedAt":"2007-04-03T11:49:36Z","isPatch":false,"sender":{"key":"jborder@gmail.com","avatar":null},"body":"Hello.\n\nIs there a switch to have stgit prepend a numeric prefix to the patch name?\n\nI'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'.\n\nI'm sure when I played with stg a while ago I found a switch to do that.\n\nI'm probably wrong, though.\n\nCheers\n\nJamie\n"},{"id":"38501","messageId":"tnx648d5xs9.fsf@arm.com","threadId":"7501","inReplyTo":"87odm5r833.fsf@gmail.com","subject":"Re: StGit patchname numeric prefix?","fromName":"Catalin Marinas","fromEmail":"catalin.marinas@arm.com","sentAt":"2007-04-03T14:37:42Z","receivedAt":"2007-04-03T14:37:42Z","isPatch":false,"sender":{"key":"catalin.marinas@arm.com","avatar":null},"body":"Jamie Border <jborder@gmail.com> wrote:\n> Is there a switch to have stgit prepend a numeric prefix to the\n> patch name?\n>\n> I'm trying to stg uncommit -n <large_number> from a repository, and\n> due to the excellent log messages, half of the patches get called\n> 'empty-log-message'.\n>\n> I'm sure when I played with stg a while ago I found a switch to do\n> that.\n\nIt automatically adds a suffix if a patch with the same name already\nexists, i.e. empty-log-message-0, -1, ..., -n. No extra switch is\nneeded.\n\nWhat StGIT version are you using?\n\n-- \nCatalin\n"},{"id":"38503","messageId":"874pnxqxsj.fsf@gmail.com","threadId":"7501","inReplyTo":"tnx648d5xs9.fsf@arm.com","subject":"Re: StGit patchname numeric prefix?","fromName":"Jamie Border","fromEmail":"jborder@gmail.com","sentAt":"2007-04-03T15:31:56Z","receivedAt":"2007-04-03T15:31:56Z","isPatch":false,"sender":{"key":"jborder@gmail.com","avatar":null},"body":"Catalin Marinas <catalin.marinas@arm.com> writes:\n\n> Jamie Border <jborder@gmail.com> wrote:\n>> Is there a switch to have stgit prepend a numeric prefix to the\n>> patch name?\n>>\n>> I'm trying to stg uncommit -n <large_number> from a repository, and\n>> due to the excellent log messages, half of the patches get called\n>> 'empty-log-message'.\n>>\n>> I'm sure when I played with stg a while ago I found a switch to do\n>> that.\n>\n> It automatically adds a suffix if a patch with the same name already\n> exists, i.e. empty-log-message-0, -1, ..., -n. No extra switch is\n> needed.\n>\n> What StGIT version are you using?\n\n0.11, which doesn't do that <g>.\n\nJust changed to 0.12, which works great.\n\nMany thanks, saved me hours and hours :-)\n\nJamie\n\n>\n> -- \n> Catalin\n"}]}