{"thread":{"id":"16195","subject":"StGit: stgit mail configuration options","startedAt":"2008-11-06T10:21:20Z","lastAt":"2008-11-10T10:19:58Z","messageCount":2,"participants":["David Kågedal","Karl Hasselström"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"95040","messageId":"871vxptasf.fsf@krank.kagedal.org","threadId":"16195","inReplyTo":null,"subject":"StGit: stgit mail configuration options","fromName":"David Kågedal","fromEmail":"davidk@lysator.liu.se","sentAt":"2008-11-06T10:21:20Z","receivedAt":"2008-11-06T10:21:20Z","isPatch":false,"sender":{"key":"davidk@lysator.liu.se","avatar":"https://avatars.githubusercontent.com/u/60530?v=4"},"body":"The \"stg mail\" command uses a couple of configuration options that are\ncompletely undocumented, and don't fit well together.\n\n\"stgit.autobcc\" seems to give a default value for the --bcc option.\n\n\"stgit.mail.prefix seems to give a default value for the --prefix\noption.\n\nShouldn't these both be stgit.* or stgit.mail.*? And shouldn't they be\ndocumented? Or maybe removed?\n\nAnd I propse that the autobcc option should be a boolean which means\nthat user.email should be used.\n\n-- \nDavid Kågedal\n"},{"id":"95324","messageId":"20081110101958.GA14955@diana.vm.bytemark.co.uk","threadId":"16195","inReplyTo":"871vxptasf.fsf@krank.kagedal.org","subject":"Re: StGit: stgit mail configuration options","fromName":"Karl Hasselström","fromEmail":"kha@treskal.com","sentAt":"2008-11-10T10:19:58Z","receivedAt":"2008-11-10T10:19:58Z","isPatch":false,"sender":{"key":"kha@treskal.com","avatar":"https://gravatar.com/avatar/f0120c734b5279b345075a28521e1ac66acb20c9913ffe9bf6ae97e53f7f3f13?d=mp&s=160"},"body":"On 2008-11-06 11:21:20 +0100, David Kågedal wrote:\n\n> The \"stg mail\" command uses a couple of configuration options that\n> are completely undocumented, and don't fit well together.\n\nI agree that they definitely need documenting.\n\nAs for renaming them and/or changing their types, that's probably a\ngood idea too. And once they are documented, we could e.g. rename and\nonly mention the new name in the docs, but keep the old name as well\nfor backward compatibility.\n\nOne interesting twist would be to fix StGit's config parser so that it\ncan automatically generate a man page listing all the config options\nit recognizes. It needs updating anyway for other reasons (I believe\nit still calls git-config several times instead of just once), and\nthis could be done at the same time.\n\n-- \nKarl Hasselström, kha@treskal.com\n      www.treskal.com/kalle\n"}]}