Re: [PATCH] Support for configurable git command aliases (v2)
- From
Petr Baudis <pasky@ucw.cz>
- Date
- Jun 4, 2006, 21:20 UTC
- Message-ID
- <20060604212050.GV10488@pasky.or.cz>
- In-Reply-To
- <20060604211931.10117.82695.stgit@machine.or.cz>
Dear diary, on Sun, Jun 04, 2006 at 11:19:31PM CEST, I got a letter where Petr Baudis <pasky@suse.cz> said that...
Show 9 quoted lines
> This patch adds support for configurable aliases for git commands - > "alias.WHATEVER = which ever" will kick in when you do "git WHATEVER" > and substitute WHATEVER with "which ever" (splitted to arguments at > whitespaces). > > The second version does all the work in handle_aliases() which was > inspired by Johannes Schindelin's patch. > > Signed-off-by: Petr Baudis <pasky@suse.cz>
And I forgot to mention that it also adds the interactivity test requested by Janek - aliases are now interpreted only when stdout is a tty.
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ A person is just about as big as the things that make them angry.