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