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

Re: fatal: unable to write sha1 file git 1.6.2.1

From
Nicolas Pitre <nico@cam.org>
Date
Mar 24, 2009, 19:30 UTC
Message-ID
<alpine.LFD.2.00.0903241527420.26337@xanadu.home>
In-Reply-To
<49C9246E.3030508@mycircuit.org>
On Tue, 24 Mar 2009, Peter wrote:
Show 10 quoted lines
> Hi
> I try to add a directory with lots of binary files to a git repository.
> I receive the error message:
> *
> fatal: unable to write sha1 file
> 
> *This is  git 1.6.2.1.
> 
> Are there limits concerning binary files ( like executables , images ) for the
> inclusion in a git repo ?

Currently, Git is unable to deal with files that it cannot load entirely in memory.

What is the size of your largest file?
Nicolas
Previous: PeterNext: Linus Torvalds
Message 2 of 13 in “fatal: unable to write sha1 file git 1.6.2.1”
  1. PeterMar 24, 2009
  2. Nicolas PitreMar 24, 2009
  3. Linus TorvaldsMar 24, 2009
  4. PeterMar 24, 2009
  5. Linus TorvaldsMar 24, 2009
  6. PeterMar 24, 2009
  7. Linus TorvaldsMar 25, 2009
  8. Jeff LaytonMar 25, 2009
  9. Jeff LaytonMar 24, 2009
  10. Linus TorvaldsMar 25, 2009
  11. Steven FrenchMar 25, 2009
  12. Jeff LaytonMar 25, 2009
  13. PeterMar 25, 2009

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.