git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "seventh guardian" <seventhguardian@gmail.com>
To: git@vger.kernel.org
Subject: Re: [bug] git-clone over ssh fails when repository has local commits
Date: Sun, 6 Apr 2008 19:06:40 +0100	[thread overview]
Message-ID: <1caff7430804061106m49a60bc0wbbd9001394e83589@mail.gmail.com> (raw)
In-Reply-To: <20080406175136.GB32399@coredump.intra.peff.net>

On Sun, Apr 6, 2008 at 6:51 PM, Jeff King <peff@peff.net> wrote:
> On Sun, Apr 06, 2008 at 06:11:12PM +0100, seventh guardian wrote:
>
>  Hmm. This _should_ just work, but something funny is going on. For some
>  reason the "local master" is telling us that his HEAD points to
>  f7a51afd, but we don't actually get that object.

This object is the correct HEAD, but it is a local commit (I rebase
all local changes so that they stay "on top" of the original code).

>  But I'm not quite sure
>  how we get into that situation; my guess is that there is something
>  confusing going on at the remote master, since the http fetching code is
>  not as strict and might fail to notice a missing object there. Is it
>  possible for us to see the remote master so we can take a look?

Sure, I just thought it would confuse more than it would help. I was
obviously wrong, as I'm actually using git:// instead of http://....
sorry... ;)

 I'm experiencing this with both these repo's, as I have committed
some local changes to them:

git://anongit.freedesktop.org/git/nouveau/mesa
git://anongit.freedesktop.org/git/nouveau/xf86-video-nouveau/

On the other hand, I don't have this issue with this repo, which
doesn't have any local commit:

git://anongit.freedesktop.org/git/mesa/drm/

Now that I look at the addresses, the "nouveau" part is common to the
problematic repo's. I'll make a local change on the last repo and see
if it also exhibits the problem. I'll report back ASAP.

Cheers,
  Renato

  reply	other threads:[~2008-04-06 18:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-06 13:45 [bug] git-clone over ssh fails when repository has local commits seventh guardian
2008-04-06 16:11 ` Jeff King
2008-04-06 16:22   ` seventh guardian
2008-04-06 16:56     ` Jeff King
2008-04-06 17:11       ` seventh guardian
2008-04-06 17:51         ` Jeff King
2008-04-06 18:06           ` seventh guardian [this message]
2008-04-06 18:11             ` seventh guardian
2008-04-06 20:50               ` Jakub Narebski
2008-04-06 18:17             ` Jeff King
2008-04-06 19:02               ` seventh guardian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1caff7430804061106m49a60bc0wbbd9001394e83589@mail.gmail.com \
    --to=seventhguardian@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).