jordansissel/fpm — pull request #236 by jimbrowne (2012-06-28 23:51:28+00:00)
Title: Remove dirs empty due to --exclude.  Issue 205.

Could be improved by breaking the ascend once a non-empty directory is found, but this code works for me in the case of packaging directories and excluding ```**/.git/*```