git alias: try alias last.
authorJunio C Hamano <junkio@cox.net>
Tue, 6 Jun 2006 01:09:40 +0000 (18:09 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 6 Jun 2006 01:09:40 +0000 (18:09 -0700)
commita025463bc0ec2c894a88f2dfb44cf88ba71bb712
tree350dab16b63c36318e7a792b4f66d81a9082e06e
parent2b11e3170e919866c7f5554dd4089289a1bb6726
git alias: try alias last.

This disables alias "foo" from being used for git-foo, and when
we do use alias we check the built-in and then existing command
names first and then alias as the fallback.  This avoids the
problem of common commands used in scripts getting clobbered by
user specific aliases.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git.c