Make '!' aliases more useful
commita2f8028d3d661b314d5a784764f2f5f9e4c2dde0
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sun, 1 Jul 2007 21:51:58 +0000 (1 22:51 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 Jul 2007 08:33:44 +0000 (2 01:33 -0700)
tree670a4fe52001e3c03cc236facf5f2cc461f409c7
parent7627943a1bb0cda6f37b66381a62facf9e200285
Make '!' aliases more useful

When an alias starts with an exclamation mark, the rest is interpreted
as a shell command. However, all arguments passed to git used to be
ignored.

Now you can have an alias like

$ git config alias.e '!echo'

and

$ git e Hello World

does what you expect it to do.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git.c