git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git fetch -- double fetch

From
Andy Whitcroft <apw@shadowen.org>
Date
Oct 7, 2007, 21:44 UTC
Message-ID
<20071007214433.GA30833@shadowen.org>
In-Reply-To
<Pine.LNX.4.64.0710071728570.4174@racer.site>
On Sun, Oct 07, 2007 at 05:29:38PM +0100, Johannes Schindelin wrote:
Show 22 quoted lines
> Hi,
> 
> On Sat, 6 Oct 2007, Andy Whitcroft wrote:
> 
> > I have recently been seeing repeated fetching of some branches.  I feel
> > this has happened in at least three of my repos on three distinct
> > projects:
> > 
> > apw@pinky$ git fetch origin
> > remote: Generating pack...
> > remote: Done counting 5 objects.
> > remote: Deltifying 5 objects...
> > remote:  100% (5/5) done
> > Unpacking 5 objects...
> > remote: Total 5 (delta 0), reused 0 (delta 0)
> >  100% (5/5) done
> > * refs/remotes/origin/master: fast forward to branch 'master' of ssh://git@abat-dev/var/www/git/abat
> >   old..new: ce046f0..41c9dde
> > * refs/remotes/origin/master: fast forward to branch 'master' of ssh://git@abat-dev/var/www/git/abat
> >   old..new: ce046f0..41c9dde
> 
> What does "git config --get-all remote.origin.fetch" say?

apw@pinky$ git config --get-all remote.origin.fetch +refs/heads/master:refs/remotes/origin/master +refs/heads/*:refs/remotes/origin/* apw@pinky$

I don't think that I did anything to this config, I think that is what the clone setup for me.

-apw
Previous: Johannes SchindelinNext: Daniel Barkalow
Message 3 of 5 in “git fetch -- double fetch”
  1. Andy WhitcroftOct 6, 2007
  2. Johannes SchindelinOct 7, 2007
  3. Andy WhitcroftOct 7, 2007
  4. Daniel BarkalowOct 7, 2007
  5. Johannes SchindelinOct 7, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.