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

Another problem with not existing directories

From
MHMarcel Holtmann <marcel@holtmann.org>
Date
Oct 31, 2005, 17:20 UTC
Message-ID
<1130779234.5848.15.camel@blade>
Hi guys,

I think there exists another problem with git-unpack-objects if the sub-directory in "objects" doesn't exists.

# cg-push master
updating 'refs/heads/master'
  from 581c1b14394aee60aff46ea67d05483261ed6527
  to   197c190b0b00689074c03fc3ebcfa114dbed1d73
Packing 37 objects
Unpacking 37 objects
unable to write sha1 filename ./objects/dc/59cd72edc7bc6169c2c9c073c86483f9318e7c: No such file or directoryfatal: failed to write object
fatal: git-unpack-objects exited with error code 128

In this case the directory "objects/dc" doesn't exists. Creating it fixes the problem, but I think they should be created on demand.

Regards
Marcel
Next: Linus Torvalds
Message 1 of 5 in “Another problem with not existing directories”
  1. Marcel HoltmannOct 31, 2005
  2. Linus TorvaldsOct 31, 2005
  3. Marcel HoltmannOct 31, 2005
  4. Junio C HamanoOct 31, 2005
  5. Marcel HoltmannOct 31, 2005

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.