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

Re: [PATCH 1/2] Allow '-' in config variable names

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 31, 2006, 09:49 UTC
Message-ID
<Pine.LNX.4.63.0610311047250.26682@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7vfyd5rxvg.fsf@assigned-by-dhcp.cox.net>
Hi,
On Mon, 30 Oct 2006, Junio C Hamano wrote:
Show 13 quoted lines
> Junio C Hamano <junkio@cox.net> writes:
> 
> > Linus Torvalds <torvalds@osdl.org> writes:
> >
> >> I need this in order to allow aliases of the same form as "ls-tree", 
> >> "rev-parse" etc, so that I can use
> >>
> >> 	[alias]
> >> 		my-cat=--paginate cat-file -p
> >>
> >> to add a "git my-cat" command.
> >
> Seconds?

I personally dislike any name with "_" or "-" in it, since I am stuck with different keyboard layouts and keep mistyping them. I even often find myself hitting <TAB> just to complete a _single_ "-", since the position of the <TAB> key is not wildly jumping around between different keyboard layouts.

So I can live without it.

Ciao, Dscho

Previous: Linus Torvalds
Message 9 of 9 in “Allow '-' in config variable names”
  1. 1/2 Allow '-' in config variable namesLinus Torvalds, Oct 30, 2006
  2. 2/2 git push: add verbose flag and allow overriding of default target repositoryLinus Torvalds, Oct 30, 2006
  3. Junio C HamanoOct 30, 2006
  4. Junio C HamanoOct 31, 2006
  5. Junio C HamanoOct 30, 2006
  6. Junio C HamanoOct 31, 2006
  7. J. Bruce FieldsOct 31, 2006
  8. Linus TorvaldsOct 31, 2006
  9. Johannes SchindelinOct 31, 2006

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.