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

Re: git-fast-export is returning streams with source code inside

From
Jeff King <peff@peff.net>
Date
Aug 4, 2011, 18:32 UTC
Message-ID
<20110804183218.GA15943@sigill.intra.peff.net>
In-Reply-To
<CAFC9htxRD0z3O_k_OLp08KZFUOL_T3AryCXD+OqqXx9ZYeRutg@mail.gmail.com>
On Thu, Aug 04, 2011 at 10:08:43AM +0100, James Gregory wrote:
> Thanks for your reply. I'm afraid I won't be able to allow you access
> to repo as it is for a business project and covered by NDAs, etc. If I
> can do anything to help with diagnosing the problem (debug logs, more
> excerpts from the stream, etc.) then that shouldn't be a problem.

Since it seems like blob data is making it into the stream in an odd place, my first guess would be a memory problem. Can you try installing valgrind (since you are on Ubuntu, there should be a package), and then running:

  valgrind git fast-export --all >/dev/null 2>valgrind.out
and then sharing the results of valgrind.out?
-Peff
Previous: James GregoryNext: James Gregory
Message 4 of 8 in “git-fast-export is returning streams with source code inside”
  1. James GregoryAug 1, 2011
  2. Jeff KingAug 4, 2011
  3. James GregoryAug 4, 2011
  4. Jeff KingAug 4, 2011
  5. James GregoryAug 5, 2011
  6. Jeff KingAug 5, 2011
  7. James GregoryAug 5, 2011
  8. Jeff KingAug 5, 2011

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.