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

Re: reexporting git repository via git-daemon

From
AMArkadiusz Miskiewicz <arekm@maven.pl>
Date
Dec 10, 2006, 16:42 UTC
Message-ID
<200612101742.44564.arekm@maven.pl>
In-Reply-To
<200612082212.09682.arekm@maven.pl>
On Friday 08 December 2006 22:12, Arkadiusz Miskiewicz wrote:
Show 25 quoted lines
> strace on git-daemon side:
> [...]
> 18241 lstat("refs/tags/v1.4.1-rc2", {st_mode=S_IFREG|0644, st_size=41,
> ...}) = 0
> 18241 open("refs/tags/v1.4.1-rc2", O_RDONLY) = 7
> 18241 read(7, "33c9db007159db11c1ad5fa7101ea95853740acf\n", 255) = 41
> 18241 close(7)                          = 0
> 18241 write(1, "004233c9db007159db11c1ad5fa7101ea95853740acf
> refs/tags/v1.4.1-rc2\n", 66) = 66
> 18241 write(1, "0045abc02670169cee9541793a86324a014272ca8ed5
> refs/tags/v1.4.1-rc2^{}\n", 69) = 69
> 18241 stat("refs/tags/v1.4.1.1", {st_mode=S_IFREG|0644, st_size=41, ...}) =
> 0 18241 lstat("refs/tags/v1.4.1.1", {st_mode=S_IFREG|0644, st_size=41,
> ...}) = 0 18241 open("refs/tags/v1.4.1.1", O_RDONLY) = 7
> 18241 read(7, "8419a453dc088b25b63ab1746d3d7e679caf686d\n", 255) = 41
> 18241 close(7)
> 18241 write(1, "00408419a453dc088b25b63ab1746d3d7e679caf686d
> refs/tags/v1.4.1.1\n", 64) = 64
> 18241 write(2, "fatal: ", 7)            = 7
> 18241 write(2, "corrupted pack
> file ./objects/pack/pack-0bb22295a585ac173504a2f8dfb3e31e074a8715.pack",
> 85) = 85
> 18241 write(2, "\n", 1)
>
> 100% repeatable at this moment. Any ideas?
after:
$  git repack -a -d
Generating pack...
Done counting 33587 objects.
Deltifying 33587 objects.
 100% (33587/33587) done
Writing 33587 objects.
 100% (33587/33587) done
Total 33587, written 33587 (delta 23205), reused 33587 (delta 23205)
Pack pack-bc830a5d1c2efa3b727ef9af8faba13c3e719395 created.
the problem disapears and I can safely reexport git repository.
Does anyone care about this bug in git?
-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
Previous: Arkadiusz MiskiewiczNext: Junio C Hamano
Message 2 of 7 in “reexporting git repository via git-daemon”
  1. Arkadiusz MiskiewiczDec 8, 2006
  2. Arkadiusz MiskiewiczDec 10, 2006
  3. Junio C HamanoDec 10, 2006
  4. Robin RosenbergDec 10, 2006
  5. Arkadiusz MiskiewiczDec 10, 2006
  6. Jakub NarebskiDec 10, 2006
  7. Arkadiusz MiskiewiczDec 10, 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.