Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Remove dirs empty due to --exclude. Issue 205. #236

Merged
merged 2 commits into from Jul 22, 2012

Conversation

Projects
None yet
3 participants
Contributor

jimbrowne commented Jun 28, 2012

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/*

jordansissel added a commit that referenced this pull request Jul 22, 2012

Merge pull request #236 from jimbrowne/issue-205
Remove dirs empty due to --exclude.  Issue 205.

@jordansissel jordansissel merged commit aaebf4b into jordansissel:master Jul 22, 2012

Owner

jordansissel commented Jul 22, 2012

Thanks much for this patch! :)

Collaborator

r4um commented Dec 26, 2012

This is causing not too include empty directories under subversion, when subversion files are excluded with --exclude '**.svn*'.

prof-milki pushed a commit to prof-milki/xpm that referenced this pull request Dec 18, 2014

Merge pull request #236 from jimbrowne/issue-205
Remove dirs empty due to --exclude.  Issue 205.

prof-milki pushed a commit to prof-milki/xpm that referenced this pull request Dec 27, 2014

Merge pull request #236 from jimbrowne/issue-205
Remove dirs empty due to --exclude.  Issue 205.

jordansissel added a commit that referenced this pull request Apr 24, 2015

Merge pull request #236 from jimbrowne/issue-205
Remove dirs empty due to --exclude.  Issue 205.

jordansissel added a commit that referenced this pull request Jun 20, 2016

Merge pull request #236 from jimbrowne/issue-205
Remove dirs empty due to --exclude.  Issue 205.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment