git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Jacob Kaplan-Moss <jacob@jacobian.org>
Cc: git@vger.kernel.org
Subject: Re: git-stash fails on OSX 10.5
Date: Fri, 10 Apr 2009 10:26:34 -0700	[thread overview]
Message-ID: <7vy6u8whbp.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <be4ebbe10904100944p6ec2c0dao8607fcff75d2754e@mail.gmail.com> (Jacob Kaplan-Moss's message of "Fri, 10 Apr 2009 11:44:36 -0500")

Jacob Kaplan-Moss <jacob@jacobian.org> writes:

> 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

  reply	other threads:[~2009-04-10 17:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-10 16:44 git-stash fails on OSX 10.5 Jacob Kaplan-Moss
2009-04-10 17:26 ` Junio C Hamano [this message]
2009-04-10 18:14   ` Jacob Kaplan-Moss
2009-04-13 17:57     ` Jay Soffian
2009-04-13 18:13       ` Jacob Kaplan-Moss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7vy6u8whbp.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=jacob@jacobian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).