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

git-stash fails on OSX 10.5

From
Jacob Kaplan-Moss <jacob@jacobian.org>
Date
Apr 10, 2009, 16:44 UTC
Message-ID
<be4ebbe10904100944p6ec2c0dao8607fcff75d2754e@mail.gmail.com>
Hi folks --

I'm stumped; git-stash simply won't work on my machine. On any repository I've tried, with various permutations, I keep getting::

    $ git stash
    cp: `.../.git/index': No such file or directory
    Cannot save the current worktree state

I spent about an hour in #git this morning trying to track it down (log: http://colabti.org/irclogger/irclogger_log/git?date=2009-04-10#l1946). I've tried stashing with and without content added to the index; I've also tried entirely removing .git/index and then recreating it via git reset. No dice.

I'm entirely willing to entertain the possibility that this is my fault, but I am fairly familiar with git (been using it for about a year) and so if it is fault it's gotta be something pretty subtle.

I'm concerned by the fact that it doesn't work on *any* repository on my machine, though. I think that points to a systematic problem.

I'm on OS X 10.5.6; Git is 1.6.2.2, built and installed from source, though the same problem happened with the old 1.6.0 I had yesterday, and also the 1.6.2.1 I installed via the OSX package.

Thanks!
Jacob
Next: Junio C Hamano
Message 1 of 5 in “git-stash fails on OSX 10.5”
  1. Jacob Kaplan-MossApr 10, 2009
  2. Junio C HamanoApr 10, 2009
  3. Jacob Kaplan-MossApr 10, 2009
  4. Jay SoffianApr 13, 2009
  5. Jacob Kaplan-MossApr 13, 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.