Re: Author name and e-mail address in .stgitrc
- From
- Catalin Marinas <catalin.marinas@gmail.com>
- Date
- Nov 11, 2006, 23:02 UTC
- Message-ID
- <b0943d9e0611111502q2f68be67l1a2441d84923a732@mail.gmail.com>
- In-Reply-To
- <20061111141530.GF11224@diana.vm.bytemark.co.uk>
On 11/11/06, Karl Hasselström <kha@treskal.com> wrote:
> Is there any particular reason to have the author and committer names > in ~/.stgitrc? Simply taking them from the same place git does would > probably be a usability enhancement (unless they're specified on the > command line, of course).
At the time I added these to .stgitrc, the only place git was taking them from was the environment variables and I wanted to put them in a single place. I also didn't like the idea of having the committer e-mail address be some username@local-machine as I don't think the name of the machine where I create patches is relevant. I also define the committer/author per repository in the .git/stgitrc file (i.e. I use @arm.com for Linux patches and @gmail.com for StGIT).
I use StGIT almost exclusively, even in "maintainer" mode and I would like not to spread the configuration options over many files. It is on my todo list to use the same configuration file as git (with a [stgit] section) since it has a format that should be understood by the Python config module.