git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: bug: git-stash save and symbolic links

From
Simon Strandgaard <neoneye@gmail.com>
Date
Oct 20, 2008, 15:32 UTC
Message-ID
<df1390cc0810200832i4fa974fx1d70ed489aa1be02@mail.gmail.com>
In-Reply-To
<20081020151715.GA13553@coredump.intra.peff.net>
On Mon, Oct 20, 2008 at 5:17 PM, Jeff King <peff@peff.net> wrote:
> On Mon, Oct 20, 2008 at 10:34:53AM +0200, Simon Strandgaard wrote:
[snip]
> What version of git are you running (though I tried a few different
> ones, and all passed my test)?
I have made some changes, so it can be reproduced
prompt> sh run.sh
Initialized empty Git repository in /Users/neoneye/Desktop/test/repo/.git/
Created initial commit a2a7d6f: one
 1 files changed, 1 insertions(+), 0 deletions(-)
 create mode 100644 file
before stash
fatal: Not a git repository
fatal: Not a git repository
fatal: Not a git repository
You do not have the initial commit yet
prompt> cat run.sh
rm -rf repo &&
rm -f linked &&
mkdir repo &&
   cd repo &&
     git init &&
     echo content >file &&
     git add file &&
     git commit -m one &&
     mkdir test &&
   cd .. &&
     ln -s repo/test linked &&
   cd linked &&
     echo cruft >>file &&
     echo before stash &&
     git stash &&
     echo after stash

prompt> pwd /Users/neoneye/Desktop/test prompt>

This is my computer

prompt> git --version git version 1.5.6.2 prompt> uname -a Darwin Macintosh.local 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep 3 11:29:43 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386 i386 prompt>

-- 
Simon Strandgaard
http://toolboxapp.com/
Previous: Jeff KingNext: Simon Strandgaard
Message 3 of 5 in “bug: git-stash save and symbolic links”
  1. Simon StrandgaardOct 20, 2008
  2. Jeff KingOct 20, 2008
  3. Simon StrandgaardOct 20, 2008
  4. Simon StrandgaardOct 20, 2008
  5. Jeff KingOct 20, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.