Fwd: Data loss when using "git stash -u" and ignored content in directories

2016-04-07 Thread Ulrich Buchgraber
Hello, A "git stash -u" cleans all untracked files (after storing them), and normally does not clean ignored files. But: It cleans ignored files within a directory, when the directory itself is not ignored (e.g. a "dir/*" ignore filter) and untracked. See the following reproduction sample. The l

Data loss when using "git stash -u" and ignored content in directories

2016-04-14 Thread Ulrich Buchgraber
Hello, A "git stash -u" cleans all untracked files (after storing them), and normally does not clean ignored files. But: It cleans ignored files _within_ a directory, when the directory itself is not ignored, but its content (e.g. a "dir/*" ignore filter). The bug seems to be that in the cleanup

[Bug] "git stash -u": Data loss of ignored content in directories

2016-04-16 Thread Ulrich Buchgraber
Hello, A "git stash -u" cleans all untracked files (after storing them), and normally does not clean ignored files. But: It cleans ignored files _within_ a directory, when the directory itself is not ignored, but its content (e.g. a "dir/*" ignore filter). The bug seems to be that in the cleanup