Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Jonas Gorski <jogo@openwrt.org>
Cc: John Crispin <john@phrozen.org>,
	MIPS Mailing List <linux-mips@linux-mips.org>
Subject: Re: git caching(?) issues with http(s)
Date: Fri, 21 Nov 2014 17:10:55 +0100	[thread overview]
Message-ID: <20141121161055.GA5153@linux-mips.org> (raw)
In-Reply-To: <CAOiHx=nJbFvUR4mBCTGdjDFkEX1onRK8P8_c3dwGwDxoox5mow@mail.gmail.com>

On Fri, Nov 21, 2014 at 03:03:08PM +0100, Jonas Gorski wrote:

> >> I noticed that git over http(s) seems to get stale data (just done a
> >> few minutes ago):
> >>
> >> ~$ git clone http://git.linux-mips.org/pub/scm/ralf/upstream-sfr.git
> >> Cloning into 'upstream-sfr'...
> >> ~$ cd upstream-sfr/
> >> ~/upstream-sfr$ git log -1
> >> commit 475d5928b79bb78326a645863d46ff95c5e25e5a
> >> Merge: c6b7b9f 1062080
> >> Author: Ralf Baechle <ralf@linux-mips.org>
> >> Date:   Sat Aug 2 00:07:03 2014 +0200
> >>
> >>     Merge branch '3.16-fixes' into mips-for-linux-next
> >
> > Odd - but I have an idea what might be wrong.
> >
> > Are you seeing this only with the upstream-sfr tree?
> 
> Hadn't checked anything else, but looks like it also affects other trees:
> 
> ~# git clone http://git.linux-mips.org/pub/scm/ralf/upstream-linus.git
> Cloning into 'upstream-linus'...
> ~$ cd upstream-linus/
> ~/upstream-linus$ git log -1
> commit 475d5928b79bb78326a645863d46ff95c5e25e5a
> Merge: c6b7b9f 1062080
> Author: Ralf Baechle <ralf@linux-mips.org>
> Date:   Sat Aug 2 00:07:03 2014 +0200
> 
>     Merge branch '3.16-fixes' into mips-for-linux-next
> 
> 
> (strangely the same commit)

The issue is a stale info/refs on the server.  This file normally gets
updated when the hook hooks/post-update is ran which in turn calls
git-update-server-info but that just didn't happen.

Can you retry?

Btw, why are you using http transport anyway?  The git protocol should
be more efficient.

  Ralf

  reply	other threads:[~2014-11-21 16:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-21 13:27 git caching(?) issues with http(s) Jonas Gorski
2014-11-21 13:41 ` Ralf Baechle
2014-11-21 14:03   ` Jonas Gorski
2014-11-21 16:10     ` Ralf Baechle [this message]
2014-11-22 11:56       ` Jonas Gorski

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=20141121161055.GA5153@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=jogo@openwrt.org \
    --cc=john@phrozen.org \
    --cc=linux-mips@linux-mips.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