{"thread":{"id":"10720","subject":"Re: Problem with https and git-pull","startedAt":"2007-11-08T07:42:30Z","lastAt":"2007-11-08T09:37:07Z","messageCount":3,"participants":["Luke Diamand","Andreas Ericsson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"58812","messageId":"4732BDE6.4020509@vidanti.com","threadId":"10720","inReplyTo":null,"subject":"Problem with https and git-pull","fromName":"Luke Diamand","fromEmail":"luke@vidanti.com","sentAt":"2007-11-08T07:42:30Z","receivedAt":"2007-11-08T07:42:30Z","isPatch":false,"sender":{"key":"luke@vidanti.com","avatar":null},"body":"I'm finding that git-pull using https does not work in the way I would \nexpect.\n\nI created a bare repository, test.git, available by https://\n\nI then cloned it:\n\n% git-clone https://host/git/test.git\n\nSo far, so good.\n\nThen I made a change in a different clone and pushed it.\n\nWhen I next did git-pull it just said:\n\n% git-pull\nFetching refs/heads/master from https://host/git/test.git using https\nAlready up-to-date.\n\nBut it *isn't* up-to-date! If I do the same exercise with git:// or \nssh:// on the same repo then it pulls down my changes as expected.\n\nTried with:\n   git version 1.5.3.4 (debian testing)\n   git 1.5.3.5-dirty\n\ncurl is 7.16.4\n\nThe server access log shows the git-pull happening, and there are no \nerrors reported by the server.\n\nIs there something obvious I'm missing?\n\nThanks\nLuke\n"},{"id":"58811","messageId":"4732BEDD.3010703@vidanti.com","threadId":"10720","inReplyTo":"4732BDE6.4020509@vidanti.com","subject":"Re: Problem with https and git-pull","fromName":"Luke Diamand","fromEmail":"luke@vidanti.com","sentAt":"2007-11-08T07:46:37Z","receivedAt":"2007-11-08T07:46:37Z","isPatch":false,"sender":{"key":"luke@vidanti.com","avatar":null},"body":"OK, I just read the FAQ.\n\nLuke Diamand wrote:\n> I'm finding that git-pull using https does not work in the way I would \n> expect.\n> \n> I created a bare repository, test.git, available by https://\n> \n> I then cloned it:\n> \n> % git-clone https://host/git/test.git\n> \n> So far, so good.\n> \n> Then I made a change in a different clone and pushed it.\n> \n> When I next did git-pull it just said:\n> \n> % git-pull\n> Fetching refs/heads/master from https://host/git/test.git using https\n> Already up-to-date.\n> \n> But it *isn't* up-to-date! If I do the same exercise with git:// or \n> ssh:// on the same repo then it pulls down my changes as expected.\n> \n> Tried with:\n>   git version 1.5.3.4 (debian testing)\n>   git 1.5.3.5-dirty\n> \n> curl is 7.16.4\n> \n> The server access log shows the git-pull happening, and there are no \n> errors reported by the server.\n> \n> Is there something obvious I'm missing?\n> \n> Thanks\n> Luke\n> \n> \n"},{"id":"58843","messageId":"4732D8C3.4080300@op5.se","threadId":"10720","inReplyTo":"4732BEDD.3010703@vidanti.com","subject":"Re: Problem with https and git-pull","fromName":"Andreas Ericsson","fromEmail":"ae@op5.se","sentAt":"2007-11-08T09:37:07Z","receivedAt":"2007-11-08T09:37:07Z","isPatch":false,"sender":{"key":"ae@op5.se","avatar":"https://gravatar.com/avatar/426e89595c75a8f5252dd0c989e5fabe5bcac616e68557427ad9aef6b0ca342a?d=mp&s=160"},"body":"Luke Diamand wrote:\n> OK, I just read the FAQ.\n> \n\n... and found that \"git update-server-info\" needs to be run on the remote\nside in order for dumb protocols (http, rsync, ftp...) to work.\n\nDirected at any poor soul who finds this solution in the mailing list\narchives before posting to the list. Hello there, poor soul ;-)\n\n> Luke Diamand wrote:\n>> I'm finding that git-pull using https does not work in the way I would \n>> expect.\n>>\n>> I created a bare repository, test.git, available by https://\n>>\n>> I then cloned it:\n>>\n>> % git-clone https://host/git/test.git\n>>\n>> So far, so good.\n>>\n>> Then I made a change in a different clone and pushed it.\n>>\n>> When I next did git-pull it just said:\n>>\n>> % git-pull\n>> Fetching refs/heads/master from https://host/git/test.git using https\n>> Already up-to-date.\n>>\n>> But it *isn't* up-to-date! If I do the same exercise with git:// or \n>> ssh:// on the same repo then it pulls down my changes as expected.\n>>\n>> Tried with:\n>>   git version 1.5.3.4 (debian testing)\n>>   git 1.5.3.5-dirty\n>>\n>> curl is 7.16.4\n>>\n>> The server access log shows the git-pull happening, and there are no \n>> errors reported by the server.\n>>\n>> Is there something obvious I'm missing?\n>>\n>> Thanks\n>> Luke\n>>\n>>\n> \n> -\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n\n\n-- \nAndreas Ericsson                   andreas.ericsson@op5.se\nOP5 AB                             www.op5.se\nTel: +46 8-230225                  Fax: +46 8-230231\n"}]}