Re: git pull (Re: need advice on usage patterns)
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jul 26, 2010, 14:17 UTC
- Message-ID
- <20100726141752.GA1745@burratino>
- In-Reply-To
- <AANLkTikPHARaosHLwaKUqL12va4F7O3WMp1I4LIpu7Mp@mail.gmail.com>
Ævar Arnfjörð Bjarmason wrote:
> On Mon, Jul 26, 2010 at 03:36, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 5 quoted lines
>> -'git pull' <options> <repository> <refspec>... >> +'git pull' <options> <repository> <branch>... > > Wasn't it "refspec" because git-pull can take args like > "refs/remotes/origin/*:refs/heads/*", not just branch names?
Yes, by abuse of language that might be called the noble lie (or something; notice later where it says "<branch> can be an arbitrary refspec). Better ways to achieve the same effect would be welcome.