Re: stgit: editing description of patch
- From
Karl Hasselström <kha@treskal.com>
- Date
- Oct 4, 2007, 15:48 UTC
- Message-ID
- <20071004154836.GB21717@diana.vm.bytemark.co.uk>
- In-Reply-To
- <9e4733910710040616l5358099dj1b65b47cf94cf031@mail.gmail.com>
On 2007-10-04 09:16:46 -0400, Jon Smirl wrote:
> Why is mailing a patch series so slow?
Because the default per-patch delay is 5 seconds. You can change it by setting stgit.smtpdelay in your config, or passing --sleep on the command line.
Show 9 quoted lines
> There also seems to be a disconnect when mailing patches. Locally > the patches have a name, when you email them it uses the short > description for the name by default instead of the local name. This > may cause confusion because the emailed name does not default to the > local name. A parallel issue happens on import. > > Now that I am aware of the naming scheme I can deal with it, but > this may be a problem for new users. It might be better to force the > short description and local name to always match.
I've never thought of the patch names as anything that would make sense to export from a repository (like reflogs), so using the first line of the commit message for mail subject (like git does) always seemed like a no-brainer. But then I don't have any experience using quilt or any related tool.
The default when creating a new patch is to make up a name from its commit message (the user is free to give a name explicitly, however); the same goes when you import a patch mbox. But when importing a patch series (with "stg import --series"), I see the names are taken from the series file you import. Maybe that should change, at least optionally.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle