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

git fetch slow as molasses due to tag downloading

From
Han-Wen Nienhuys <hanwen@xs4all.nl>
Date
Dec 14, 2006, 15:40 UTC
Message-ID
<elrr8j$a02$1@sea.gmane.org>
Hello,
just upgraded our autobuilder from 1.4.3 to 1.4.4.2.

Now, our standard download command comes to a complete halt. Judging from the "ps -ef" apparently, it does

   git-show-ref --verify --quiet -- [TAG]

This is done for every one of the 1500 tags that are in my repository. At approx 20 tags per second this takes an awful lot of time.

1. Is this necessary? 
2. Is this efficient?  Wouldn't doing all tags in a single git-show-ref
invocation be potentially quicker?
-- 
 Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen
Next: Johannes Schindelin
Message 1 of 5 in “git fetch slow as molasses due to tag downloading”
  1. Han-Wen NienhuysDec 14, 2006
  2. Johannes SchindelinDec 14, 2006
  3. Jakub NarebskiDec 15, 2006
  4. Junio C HamanoDec 15, 2006
  5. Jakub NarebskiDec 15, 2006

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.