Re: bug: git-stash save and symbolic links
- From
Jeff King <peff@peff.net>
- Date
- Oct 20, 2008, 15:17 UTC
- Message-ID
- <20081020151715.GA13553@coredump.intra.peff.net>
- In-Reply-To
- <df1390cc0810200134x68a8eb1fyc7f24650c8c9c5d3@mail.gmail.com>
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 okWhat version of git are you running (though I tried a few different ones, and all passed my test)?
-Peff