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

Re: git-stash fails on OSX 10.5

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 10, 2009, 17:26 UTC
Message-ID
<7vy6u8whbp.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<be4ebbe10904100944p6ec2c0dao8607fcff75d2754e@mail.gmail.com>
Jacob Kaplan-Moss <jacob@jacobian.org> writes:
Show 8 quoted lines
> 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
Are you exporting 
	GIT_INDEX_FILE=.../.git/index
into the environment, and that path perhaps does not exist?

Otherwise the above error message wouldn't have said ".../.git/index"; it is coming from the only invocation of "cp" command in git-stash.sh

Previous: Jacob Kaplan-MossNext: Jacob Kaplan-Moss
Message 2 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.