git stash apply segfaulting when called in subdir
- From
Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
- Date
- Jul 25, 2007, 21:23 UTC
- Message-ID
- <20070725212311.GA13325@cassiopeia>
Hello,
I did not do much testing and didn't look into the issue yet:
zeisberg@cassiopeia:/tmp$ mkdir repo; cd repo; git init Initialized empty Git repository in .git/
zeisberg@cassiopeia:/tmp/repo$ mkdir dir; echo one > file; echo two > dir/file
zeisberg@cassiopeia:/tmp/repo$ git add file dir/file
zeisberg@cassiopeia:/tmp/repo$ git commit -m tralala Created initial commit 265b7d7: tralala 2 files changed, 2 insertions(+), 0 deletions(-) create mode 100644 dir/file create mode 100644 file
zeisberg@cassiopeia:/tmp/repo$ echo three >> file
zeisberg@cassiopeia:/tmp/repo$ git stash Saved "WIP on master: 265b7d7... tralala" HEAD is now at 265b7d7... tralala
zeisberg@cassiopeia:/tmp/repo$ cd dir; git stash apply error: missing object referenced by '696146c2a44d7fc4d5ae4a71589c4c0d84f59789' /home/zeisberg/usr/bin/git-stash: line 111: 13618 Segmentation fault git-merge-recursive $b_tree -- $c_tree $w_tree
Best regards Uwe
-- Uwe Kleine-König http://www.google.com/search?q=1+newton+in+kg*m+%2F+s%5E2