From: Jeff King Date: Mon, 20 Oct 2008 15:17:16 GMT Subject: Re: bug: git-stash save and symbolic links Message-ID: <20081020151715.GA13553@coredump.intra.peff.net> In-Reply-To: On Mon, Oct 20, 2008 at 10:34:53AM +0200, Simon Strandgaard wrote: > git-stash cannot find the repository when the path is a symbolic link. > solution for me was to cd to the absolute path and then do git-stash. Sorry, I can't reproduce here, using this test: mkdir repo && cd repo && git init && echo content >file && git add file && git commit -m one && cd .. && ln -s repo linked && cd repo && echo cruft >>file && git stash && echo non-linked directory stashed ok && cd ../linked && echo cruft >>file && git stash && echo linked directory stashed ok What version of git are you running (though I tried a few different ones, and all passed my test)? -Peff