Re: [PATCH] allow user aliases for the --author parameter
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Aug 21, 2008, 17:41 UTC
- Message-ID
- <20080821174118.GB5119@blimp.local>
- In-Reply-To
- <g8jbvd$18k$1@ger.gmane.org>
Michael J Gruber, Thu, Aug 21, 2008 11:19:41 +0200:
> This allows the use of author abbreviations when specifying commit > authors via the --author option to git commit. "--author=$key" is > resolved by looking up "user.$key.name" and "user.$key.email" in the > config.
Isn't there existing well-known formats for mail aliases? For instance, Mutt uses simple text file:
alias nickname1 Author Name <mail@address>
alias nickname2 "Author Name 2" <mail2@address>I don't know how well-known this is, but is surely more known than git's config (and there are aliases in that format already). Maybe just reference such files in git's config?