Skip to content

Commit

Permalink
Merge pull request #40 from alehaa/master
Browse files Browse the repository at this point in the history
Fixes #18
  • Loading branch information
Kentzo authored Jan 11, 2018
2 parents 0d11702 + 613fa65 commit 92226a7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions git_archive_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,13 @@ def walk_git_files(self, repo_path=''):
submodule_path = m.group(1)
submodule_path = path.join(repo_path, submodule_path)

if self.is_file_excluded(repo_abspath, submodule_path, exclude_patterns):
continue

for submodule_file_path in self.walk_git_files(submodule_path):
if self.is_file_excluded(repo_abspath, submodule_file_path, exclude_patterns):
continue

yield submodule_file_path
except IOError:
pass
Expand Down

0 comments on commit 92226a7

Please sign in to comment.