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

Re: Pasky problem with 'git init URL'

From
JSJohn Stoffel <john@stoffel.org>
Date
Apr 22, 2005, 12:44 UTC
Message-ID
<17000.61885.545203.936684@smtp.charter.net>
In-Reply-To
<20050421212648.GM7443@pasky.ji.cz>

Petr> Dear diary, on Thu, Apr 21, 2005 at 11:15:54PM CEST, I got a letter Petr> where John Stoffel <john@stoffel.org> told me that...

>> >>>>> "Petr" == Petr Baudis <pasky@ucw.cz> writes:
>> 

Petr> Perhaps it would be useful to have some "command classes" (with at least Petr> cg-*-(add|ls|rm)), like:

>> 

Petr> cg-branch-ls Petr> cg-remote-rm Petr> cg-tag-add

>> 
>> Does a standard like:
>> 
>> git <objecttype> <command> <args> [<obj> ...]

Petr> Isn't this basically what I was proposing? (Modulo the UI Petr> changes related to git-pasky -> Cogito.)

I'm not quite upto speed on git, I was away on vacation when the list started up and didn't catch it until just recently...

And it is close to what you were proposing, but instead of dashes (-) between the command and the object, I'm proposing just a space. Actually, I'm proposing that we decide on a grammar and it's syntax and to try and make it orthagonal and consistent. Principal of least surprises, etc.

Thanks, John

Previous: Petr BaudisNext: Fabian Franz
Message 5 of 7 in “Pasky problem with 'git init URL'”
  1. Martin SchlemmerApr 21, 2005
  2. Petr BaudisApr 21, 2005
  3. John StoffelApr 21, 2005
  4. Petr BaudisApr 21, 2005
  5. John StoffelApr 22, 2005
  6. Fabian FranzApr 21, 2005
  7. Martin SchlemmerApr 21, 2005

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.