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.

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

2015-02-05 Thread Junio C Hamano
Tobias Preuss tobias.pre...@googlemail.com 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

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

2015-02-05 Thread Junio C Hamano
Junio C Hamano gits...@pobox.com writes: Tobias Preuss tobias.pre...@googlemail.com 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