diff --git a/git_archive_all.py b/git_archive_all.py index 553cc77..046179f 100755 --- a/git_archive_all.py +++ b/git_archive_all.py @@ -332,6 +332,9 @@ def walk_git_files(self, repo_path=''): 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