Re: [PATCH] Support for configurable git command aliases
On Mon, May 29, 2006 at 12:57:26AM +0200, Jakub Narebski wrote:
Show 5 quoted lines
> Well, if [alias] would be used also for giving default options for git
> commands, e.g.
>
> [alias]
> log = log --pretty
A funny side effect of that would be that "git log" and "git-log" would
now have completely different defaults (unless the alias mechanism
starts intercepting direct calls to git-*, which seems invasive). I
wonder if it might be simpler to just add
core.defaults.log = "--pretty"
or similar.
-Peff