StGit: stgit mail configuration options
The "stg mail" command uses a couple of configuration options that are completely undocumented, and don't fit well together.
"stgit.autobcc" seems to give a default value for the --bcc option.
"stgit.mail.prefix seems to give a default value for the --prefix option.
Shouldn't these both be stgit.* or stgit.mail.*? And shouldn't they be documented? Or maybe removed?
And I propse that the autobcc option should be a boolean which means that user.email should be used.
Signature · 1 line
David Kågedal
Quoted 2 lines · David Kågedal
The "stg mail" command uses a couple of configuration options that are completely undocumented, and don't fit well together.
I agree that they definitely need documenting.
As for renaming them and/or changing their types, that's probably a good idea too. And once they are documented, we could e.g. rename and only mention the new name in the docs, but keep the old name as well for backward compatibility.
One interesting twist would be to fix StGit's config parser so that it can automatically generate a man page listing all the config options it recognizes. It needs updating anyway for other reasons (I believe it still calls git-config several times instead of just once), and this could be done at the same time.
Signature · 2 lines
Karl Hasselström, [email protected] www.treskal.com/kalle