Carlos Martín Nieto writes:
> On Thu, 2013-04-11 at 10:37 -0700, Junio C Hamano wrote:
>
>> > + fetch=$(git config --get-all "remote.$use_remote.fetch")
>> > + if [ -z "$fetch" ]; then
>> > + return
>> > + fi
>>
>> Hmm, it is probably correct to punt on this case, but it defeats
>> l
On Thu, 2013-04-11 at 10:37 -0700, Junio C Hamano wrote:
> Carlos Martín Nieto writes:
>
> > I can't quite decide whether the behaviour of 'git pull' with no
> > upstream configured but a default remote with no fetch refspecs
> > merging the remote's HEAD is a feature, a bug or something in betwe
Carlos Martín Nieto writes:
> I can't quite decide whether the behaviour of 'git pull' with no
> upstream configured but a default remote with no fetch refspecs
> merging the remote's HEAD is a feature, a bug or something in between,
> but it's used by t7409 so maybe someone else is using it and
A 'git pull' without specifying a remote is asked to take the current
branch's upstream as the branch to merge from. This cannot work
without an upstream configuration nor with HEAD detached, but we only
check for this after fetching.
Perform the check beforehand, as we already know whether we hav
4 matches
Mail list logo