From: Adam Brewster Date: Thu, 06 May 2010 00:05:40 GMT Subject: Re: [PATCH v2] An alias that starts with "!!" runs in the current directory. Message-ID: In-Reply-To: <7vpr19j4ng.fsf@alter.siamese.dyndns.org> On 5/5/10, Junio C Hamano wrote: > > 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. > For what it's worth, I like "!cmd". Would it be good enough to set some environment variables? [alias] command_in_cwd = "!cd $GIT_CWD; ..." Adam