diff options
author | Robin Stocker <robin@nibor.org> | 2013-04-12 14:21:02 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2013-04-29 01:00:35 +0200 |
commit | 8bd1e86bb74da17f18272a7f2e8b6857c800a2cc (patch) | |
tree | cfbf7ea626f07d5dd55159e5d9d3f72f1f414738 /org.eclipse.jgit.pgm/src | |
parent | 46a3863f21dcb57f5bd5a4487855c14545f57d98 (diff) | |
download | jgit-8bd1e86bb74da17f18272a7f2e8b6857c800a2cc.tar.gz jgit-8bd1e86bb74da17f18272a7f2e8b6857c800a2cc.zip |
Abort before delete in FileUtils.delete EMPTY_DIRECTORIES_ONLY|RECURSIVE
Depending on the order in which items are traversed for RECURSIVE, an
empty directory may come first before detecting that there is a file and
aborting.
This fixes it by traversing files first.
Bug: 405558
Change-Id: I638b7da58e33ffeb0fee172b96f4c823943d29e9
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.pgm/src')
0 files changed, 0 insertions, 0 deletions