Re: Bug report: Folder and files are deleted by git stash -u

2015-02-05 Thread Junio C Hamano
Junio C Hamano writes: > Tobias Preuss writes: > >> I noticed some bizarre behaviour when using: git stash -u. >> It deletes folders which contain files configured to be ignored. > > The files you mark as ignored are expendable and this is not limited > to "stash". > ... > Here is what should ha

Re: Bug report: Folder and files are deleted by git stash -u

2015-02-05 Thread Junio C Hamano
Tobias Preuss writes: > I noticed some bizarre behaviour when using: git stash -u. > It deletes folders which contain files configured to be ignored. The files you mark as ignored are expendable and this is not limited to "stash". $ git init Initialized empty Git repository in /var/tmp/

Bug report: Folder and files are deleted by git stash -u

2015-02-05 Thread Tobias Preuss
Hello. I noticed some bizarre behaviour when using: git stash -u. It deletes folders which contain files configured to be ignored. I actually lost files by this which I could not restore. Here is how you can reproduce the case. 1. Create a project folder to act as the root of the repository. `cd