Re: RFC: a plugin architecture for git extensions?
- From
Miles Bader <miles@gnu.org>
- Date
- May 9, 2011, 04:36 UTC
- Message-ID
- <buozkmw5w3j.fsf@dhlpc061.dev.necel.com>
- In-Reply-To
- <7vhb986chl.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 5 quoted lines
> Do you or do you not run "apt-get install git-superadd"? > > One possible answer may be to run "apt-get install git-superadd", and then > the users who want "git add" to behave in a new way to opt-in to use the > "plug-in". I think that is what Jon is getting at.
If aliases could override built-in command names, it'd be easy enough ("alias add=superadd") ... [with some feature to allow suppressing the alias to prevent recursion, e.g. an environment variable or something.]
-Miles
-- Justice, n. A commodity which in a more or less adulterated condition the State sells to the citizen as a reward for his allegiance, taxes and personal service.