Re: [PATCH v2] An alias that starts with "!!" runs in the current directory.
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- May 6, 2010, 07:02 UTC
- Message-ID
- <vpqfx25a4xg.fsf@bauges.imag.fr>
- In-Reply-To
- <7vpr19j4ng.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
> It probably is a good idea to switch aliases to start at the $cwd in 1.8.0 > (or perhaps one major release after it), and using a notation that is more > descriptive, something like "!(cwd)" vs "!(root)", may give us a better > transtion strategy than casting cryptic "!!" in the stone.
I like this: Allow !(cwd) and !(root) today, with !(root) being just like "!", and change plain "!" to mean !(cwd) in a future major release.
If other people have ideas for other features, the syntax can also be extended to !(cwd,some-option) or so.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/