From: Theodore Tso Date: Tue, 03 Jul 2007 01:14:29 GMT Subject: Re: [PATCH] Make '!' aliases more useful Message-ID: <20070703011429.GB5322@thunk.org> In-Reply-To: <7vr6nqwgdi.fsf@assigned-by-dhcp.cox.net> On Mon, Jul 02, 2007 at 04:11:21PM -0700, Junio C Hamano wrote: > > Such a point exists, I agree, but I would draw after $* and $1/$2/$3 > > interpolation. There is a lot more value that gets added with > > positional arguments support, and it makes git aliases more usable on > > platforms such as Windows where scripting capability is much more > > limited. > > That actually sounds sensible, but you could alias > > !sh -c 'command $2 $1 $3' > > to reorder the parameters, couldn't you? Um, how would that work on the Windows platform? (I'm assuming here that we are trying to support Windows better, since there are projects such as Mozilla, and MySQL that care very much about first class Windows support. We could say this isn't important enough, and that would be fine; but I wanted to at least raise the question.) - Ted