Re: Pasky problem with 'git init URL'
- From
- John 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