* Problem with https and git-pull
@ 2007-11-08 7:42 Luke Diamand
2007-11-08 7:46 ` Luke Diamand
0 siblings, 1 reply; 3+ messages in thread
From: Luke Diamand @ 2007-11-08 7:42 UTC (permalink / raw)
To: git
I'm finding that git-pull using https does not work in the way I would
expect.
I created a bare repository, test.git, available by https://
I then cloned it:
% git-clone https://host/git/test.git
So far, so good.
Then I made a change in a different clone and pushed it.
When I next did git-pull it just said:
% git-pull
Fetching refs/heads/master from https://host/git/test.git using https
Already up-to-date.
But it *isn't* up-to-date! If I do the same exercise with git:// or
ssh:// on the same repo then it pulls down my changes as expected.
Tried with:
git version 1.5.3.4 (debian testing)
git 1.5.3.5-dirty
curl is 7.16.4
The server access log shows the git-pull happening, and there are no
errors reported by the server.
Is there something obvious I'm missing?
Thanks
Luke
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with https and git-pull
2007-11-08 7:42 Problem with https and git-pull Luke Diamand
@ 2007-11-08 7:46 ` Luke Diamand
2007-11-08 9:37 ` Andreas Ericsson
0 siblings, 1 reply; 3+ messages in thread
From: Luke Diamand @ 2007-11-08 7:46 UTC (permalink / raw)
To: git
OK, I just read the FAQ.
Luke Diamand wrote:
> I'm finding that git-pull using https does not work in the way I would
> expect.
>
> I created a bare repository, test.git, available by https://
>
> I then cloned it:
>
> % git-clone https://host/git/test.git
>
> So far, so good.
>
> Then I made a change in a different clone and pushed it.
>
> When I next did git-pull it just said:
>
> % git-pull
> Fetching refs/heads/master from https://host/git/test.git using https
> Already up-to-date.
>
> But it *isn't* up-to-date! If I do the same exercise with git:// or
> ssh:// on the same repo then it pulls down my changes as expected.
>
> Tried with:
> git version 1.5.3.4 (debian testing)
> git 1.5.3.5-dirty
>
> curl is 7.16.4
>
> The server access log shows the git-pull happening, and there are no
> errors reported by the server.
>
> Is there something obvious I'm missing?
>
> Thanks
> Luke
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with https and git-pull
2007-11-08 7:46 ` Luke Diamand
@ 2007-11-08 9:37 ` Andreas Ericsson
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Ericsson @ 2007-11-08 9:37 UTC (permalink / raw)
To: Luke Diamand; +Cc: git
Luke Diamand wrote:
> OK, I just read the FAQ.
>
... and found that "git update-server-info" needs to be run on the remote
side in order for dumb protocols (http, rsync, ftp...) to work.
Directed at any poor soul who finds this solution in the mailing list
archives before posting to the list. Hello there, poor soul ;-)
> Luke Diamand wrote:
>> I'm finding that git-pull using https does not work in the way I would
>> expect.
>>
>> I created a bare repository, test.git, available by https://
>>
>> I then cloned it:
>>
>> % git-clone https://host/git/test.git
>>
>> So far, so good.
>>
>> Then I made a change in a different clone and pushed it.
>>
>> When I next did git-pull it just said:
>>
>> % git-pull
>> Fetching refs/heads/master from https://host/git/test.git using https
>> Already up-to-date.
>>
>> But it *isn't* up-to-date! If I do the same exercise with git:// or
>> ssh:// on the same repo then it pulls down my changes as expected.
>>
>> Tried with:
>> git version 1.5.3.4 (debian testing)
>> git 1.5.3.5-dirty
>>
>> curl is 7.16.4
>>
>> The server access log shows the git-pull happening, and there are no
>> errors reported by the server.
>>
>> Is there something obvious I'm missing?
>>
>> Thanks
>> Luke
>>
>>
>
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-08 9:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-08 7:42 Problem with https and git-pull Luke Diamand
2007-11-08 7:46 ` Luke Diamand
2007-11-08 9:37 ` Andreas Ericsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).