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

Re: [PATCH] Support for configurable git command aliases

From
Petr Baudis <pasky@ucw.cz>
Date
May 29, 2006, 08:02 UTC
Message-ID
<20060529080246.GT11941@pasky.or.cz>
In-Reply-To
<7v7j45d1wz.fsf@assigned-by-dhcp.cox.net>

Dear diary, on Mon, May 29, 2006 at 04:01:48AM CEST, I got a letter where Junio C Hamano <junkio@cox.net> said that...

Show 13 quoted lines
> Petr Baudis <pasky@ucw.cz> writes:
> 
> >> I don't like this syntax. What other stuff (beside "cmd") would be under
> >> "[alias "co"]? Why not simply:
> >> 
> >>         [alias]
> >> 		co = commit -a
> >> 		publish = push public.site.com:/pub/scm/my-public-repo
> >
> > Nice, I like this.
> 
> Sorry, I don't.  The left hand side of '=' does not allow
> anything but alnum and squashes the case.

Does that really matter that much? Perhaps we might support something like

	"!ooOk" = commit -a

(and it will probably not do what the user expects if he sticks whitespaces in).

> Please stick to [alias "co"] syntax.

That sucks, e.g. because it's alias-specific, and it's inconsistent. I can't have anything like "cgalias" then.

Let's make some effort to keep the syntax clean...
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
A person is just about as big as the things that make them angry.
Previous: Junio C HamanoNext: Horst H. von Brand
Message 16 of 19 in “Re: Trial git RPM's..”
  1. Horst von BrandJul 11, 2005
  2. Horst von BrandSep 16, 2005
  3. Horst von BrandSep 29, 2005
  4. Linus TorvaldsSep 30, 2005
  5. Junio C HamanoSep 30, 2005
  6. Linus TorvaldsSep 30, 2005
  7. Linus TorvaldsOct 1, 2005
  8. Horst von BrandOct 1, 2005
  9. Linus TorvaldsOct 3, 2005
  10. Horst von BrandNov 1, 2005
  11. Horst von BrandMay 27, 2006
  12. Support for configurable git command aliasesPetr Baudis, May 28, 2006
  13. Jakub NarebskiMay 28, 2006
  14. Jeff KingMay 29, 2006
  15. Junio C HamanoMay 29, 2006
  16. Petr BaudisMay 29, 2006
  17. Horst H. von BrandDec 2, 2006
  18. Sam VilainDec 2, 2006
  19. Linus TorvaldsDec 2, 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.