eclipse/jgit — pull request #3 by jzelenkov (2012-07-23 10:17:20+00:00)
Title: Create/Ensure directory structure before trying to create a file

fails otherwise e.g. in the following scenario:

mkdir -p some/dir
touch some/dir/file.txt
git stash
git checkout another-branch
stash apply