Re: git-send-email and aliases
- From
Jeff King <peff@peff.net>
- Date
- Mar 27, 2007, 11:02 UTC
- Message-ID
- <20070327110246.GA30217@sigill.intra.peff.net>
- In-Reply-To
- <7vlkhjne9k.fsf@assigned-by-dhcp.cox.net>
On Tue, Mar 27, 2007 at 03:59:19AM -0700, Junio C Hamano wrote:
> It might be easier but I do not think that is useful. When > git-commit runs the $EDITOR for the commit log message, I think > people would expect (if you are using vi) "!!git log" to honor > their alias.
Then git-commit can unset GIT_NOALIAS when it expects to call into "user" code such as the editor.
A potentially bigger problem with any such scheme is that non-git scripts would have to set GIT_NOALIAS. Not a big deal for new scripts, but it might break old scripts.
-Peff