Re: branch --set-upstream considered harmful
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Jun 7, 2010, 06:37 UTC
- Message-ID
- <201006070837.16713.trast@student.ethz.ch>
- In-Reply-To
- <AANLkTildT6TRd0sPlv1QbCLO7oOPHM-L1yWNIdhdp0ex@mail.gmail.com>
Jay Soffian wrote:
> > Git is inconsistent.
[...]
> $ git branch --set-upstream=origin/master > $ git branch --set-upstream origin/master
Doesn't this just make it *more* confusing?
Either we document this, and the user will be left wondering why we have two almost identical (and by the conventions of many other programs, including git-send-email, *equivalent*) syntaxes doing, well, something not quite entirely unlike the same.
Or we don't, and the user will eventually typo it and wonder WTF he just did wrong.
--
Thomas Rast
trast@{inf,student}.ethz.ch