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

error: git checkout-index: unable to write file

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Nov 4, 2010, 19:00 UTC
Message-ID
<20101104190007.GA17101@burratino>
Hi gitsters,

Just tried cloning an enormous repo to /tmp (which uses tmpfs) and got

 error: git checkout-index: unable to write file webkit/tools/test_shell/resources/textAreaResizeCorner.png
 error: git checkout-index: unable to write file webkit/tools/test_shell/run_all_tests.cc
 error: git checkout-index: unable to write file webkit/tools/test_shell/simple_appcache_system.cc
 error: git checkout-index: unable to write file webkit/tools/test_shell/simple_appcache_system.h
[etc].
Maybe we can do better?  It seems non-ideal in a few ways:
 1) it is not checkout-index but read-tree -m that prints the message
 2) errno is forgotten
 3) I would prefer if "git clone" errored out quickly for ENOSPC instead
    of continuing to fill in the cracks with what small files it can
    find.  Though I suppose the current behavior is better for errors
    like EPERM and ENAMETOOLONG, so I can't complain much.
Next: Jeff King
Message 1 of 2 in “error: git checkout-index: unable to write file”
  1. Jonathan NiederNov 4, 2010
  2. Jeff KingNov 4, 2010

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.