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

Re: [PATCH] Fix git-fast-export for zero-sized blobs

From
Nicolas Pitre <nico@cam.org>
Date
Dec 11, 2007, 22:20 UTC
Message-ID
<alpine.LFD.0.99999.0712111719380.555@xanadu.home>
In-Reply-To
<20071211220128.GA19857@steel.home>
On Tue, 11 Dec 2007, Alex Riesen wrote:
Show 23 quoted lines
> Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
> ---
>  builtin-fast-export.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> Nicolas Pitre, Tue, Dec 11, 2007 21:27:33 +0100:
> > Simply doing something like:
> > 
> > $ git fast-export --all > /dev/null
> > 
> > results in:
> > 
> > fatal: Could not write blob e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
> > 
> 
> I get this for my git repo:
> 
> 	$ git fast-export --all >/dev/null
> 	fatal: Could not write blob e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
> 	$ git cat-file blob e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 |wc -c
> 	0
> 
> Writing a zero-size blob will surely returns 0.
Indeed.
/me looking at too many piece of code at the same time
Nicolas
Previous: Alex RiesenNext: Nicolas Pitre
Message 4 of 10 in “'git fast-export' is crashing on the gcc repo”
  1. Nicolas PitreDec 11, 2007
  2. Marco CostalbaDec 11, 2007
  3. Fix git-fast-export for zero-sized blobsAlex Riesen, Dec 11, 2007
  4. Nicolas PitreDec 11, 2007
  5. Nicolas PitreDec 11, 2007
  6. Alex RiesenDec 12, 2007
  7. Nicolas PitreDec 12, 2007
  8. Junio C HamanoDec 12, 2007
  9. David KastrupDec 12, 2007
  10. Junio C HamanoDec 12, 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.