Re: git-stash fails on OSX 10.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jacob Kaplan-Moss <jacob@xxxxxxxxxxxx> 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


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]