Another fix ported from darcs-bridge.
This should also go into 2.10.3 since it makes a visible
difference on imports from git repositories.
2 patches for repository http://darcs.net:
patch 1cd948195b33719e41ed986ed421c3f9cdcbf78b
Author: Guillaume Hoffmann <guillaumh@gmail.com>
Date: Fri Jan 22 12:23:33 ART 2016
* delete empty directories on git import
Ported from Owen Stephen's darcs-bridge.
patch 88d70e5e02982341bb6cbc68b572f6aac62f7232
Author: Guillaume Hoffmann <guillaumh@gmail.com>
Date: Fri Jan 22 12:26:13 ART 2016
* test for deleting empty directories on git import