git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Make '!' aliases more useful

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 3, 2007, 01:37 UTC
Message-ID
<Pine.LNX.4.64.0707030220460.4071@racer.site>
In-Reply-To
<20070703011429.GB5322@thunk.org>
Hi,
On Mon, 2 Jul 2007, Theodore Tso wrote:
Show 20 quoted lines
> 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.)

Windows support for those people unwilling to use cygwin amounts to anything, but a command line interface. Since aliases are _bound_ to the command line, I do not really get your point here.

In my view of things, for Windows support it is first of all important to get rid of the dependency on bash in the core parts. Then we should continue on the work Han-Wen did with his gub, and produce a proper Windows-clicky-style installer which installs git-gui with a proper Windows Start Menu item. But of course, then we should brace ourselves for a lot of clueless^Winterested users.

Ciao, Dscho

Previous: Theodore TsoNext: Theodore Tso
Message 7 of 11 in “Make '!' aliases more useful”
  1. Make '!' aliases more usefulJohannes Schindelin, Jul 1, 2007
  2. Theodore TsoJul 2, 2007
  3. Johannes SchindelinJul 2, 2007
  4. Theodore TsoJul 2, 2007
  5. Junio C HamanoJul 2, 2007
  6. Theodore TsoJul 3, 2007
  7. Johannes SchindelinJul 3, 2007
  8. Theodore TsoJul 3, 2007
  9. Johannes SixtJul 3, 2007
  10. Alex RiesenJul 3, 2007
  11. Johannes SchindelinJul 3, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.