git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* http git clone fails while ssh git clone works
@ 2008-04-03 11:40 Aneesh Kumar
  2008-04-03 12:51 ` Miklos Vajna
  2008-04-03 18:28 ` Mike Hommey
  0 siblings, 2 replies; 4+ messages in thread
From: Aneesh Kumar @ 2008-04-03 11:40 UTC (permalink / raw)
  To: Git Mailing List

git clone http://myhost...

ot 0bc8afe5e1f16a6c56bc677a6c85148455a474b3
got ee425b0b7fccd9cdea38ef781b76f034e0228391
error: Unable to find 31053805b6981918e1f39e7149f62d2a0068732a under
http://myhost.....
Cannot obtain needed commit 31053805b6981918e1f39e7149f62d2a0068732a
while processing commit 56933610fa9a36ea3fc053e02bd7442b55db85dd.

while git clone ssh://myhost... works fine.


The repo actually have the commit

git --git-dir=a.git show 31053805b6981918e1f39e7149f62d2a0068732a
shows the commit.

-aneesh

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: http git clone fails while ssh git clone works
  2008-04-03 11:40 http git clone fails while ssh git clone works Aneesh Kumar
@ 2008-04-03 12:51 ` Miklos Vajna
  2008-04-03 14:52   ` Aneesh Kumar
  2008-04-03 18:28 ` Mike Hommey
  1 sibling, 1 reply; 4+ messages in thread
From: Miklos Vajna @ 2008-04-03 12:51 UTC (permalink / raw)
  To: Aneesh Kumar; +Cc: Git Mailing List

[-- Attachment #1: Type: text/plain, Size: 170 bytes --]

On Thu, Apr 03, 2008 at 05:10:07PM +0530, Aneesh Kumar <aneesh.kumar@gmail.com> wrote:
> while git clone ssh://myhost... works fine.

did you run git update-server-info?

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: http git clone fails while ssh git clone works
  2008-04-03 12:51 ` Miklos Vajna
@ 2008-04-03 14:52   ` Aneesh Kumar
  0 siblings, 0 replies; 4+ messages in thread
From: Aneesh Kumar @ 2008-04-03 14:52 UTC (permalink / raw)
  To: Miklos Vajna; +Cc: Git Mailing List

On Thu, Apr 3, 2008 at 6:21 PM, Miklos Vajna <vmiklos@frugalware.org> wrote:
> On Thu, Apr 03, 2008 at 05:10:07PM +0530, Aneesh Kumar <aneesh.kumar@gmail.com> wrote:
>  > while git clone ssh://myhost... works fine.
>
>  did you run git update-server-info?
>

yes.

-aneesh

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: http git clone fails while ssh git clone works
  2008-04-03 11:40 http git clone fails while ssh git clone works Aneesh Kumar
  2008-04-03 12:51 ` Miklos Vajna
@ 2008-04-03 18:28 ` Mike Hommey
  1 sibling, 0 replies; 4+ messages in thread
From: Mike Hommey @ 2008-04-03 18:28 UTC (permalink / raw)
  To: Aneesh Kumar; +Cc: Git Mailing List

On Thu, Apr 03, 2008 at 05:10:07PM +0530, Aneesh Kumar wrote:
> git clone http://myhost...
> 
> ot 0bc8afe5e1f16a6c56bc677a6c85148455a474b3
> got ee425b0b7fccd9cdea38ef781b76f034e0228391
> error: Unable to find 31053805b6981918e1f39e7149f62d2a0068732a under
> http://myhost.....
> Cannot obtain needed commit 31053805b6981918e1f39e7149f62d2a0068732a
> while processing commit 56933610fa9a36ea3fc053e02bd7442b55db85dd.
> 
> while git clone ssh://myhost... works fine.

Can you try again with GIT_CURL_VERBOSE set ? It will probably show you
what http request is failing and why.

Mike

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-03 18:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-03 11:40 http git clone fails while ssh git clone works Aneesh Kumar
2008-04-03 12:51 ` Miklos Vajna
2008-04-03 14:52   ` Aneesh Kumar
2008-04-03 18:28 ` Mike Hommey

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).