On Wed, 25 Apr 2007, Carl Worth wrote:
So please allow me to comment on the syntax a bit. Linus, you claimed
that <url>#<branch> isn't "unixy" enough for your taste. What does
that mean exactly?
It means *exactly* what it says.
That is a horrible syntax. It's not how we do *any* other commands. It's
web-centric in a way git simply IS NOT.
What's so special about '#' that makes it wonderful for this special case?
NOTHING.
And to make matters worse, it's fundamentally TOO WEAK: The 'url#branch'
syntax would be limited to clones, because a "pull" and "fetch" _needs_
something more powerful. So if we introduce that syntax, we're forever
cursed with having two incompatible and independent syntaxes for this,
because (a) people will then say "why not pull", and (b) it's NOT A GOOD
SYNTAX, so we'd support the old syntax for pull/fetch too.
So don't go there. It's simply a broken idea. Is that so hard to just
admit?
Linus