(&self, commit: &mut ParsedCommit)
| 2127 | } |
| 2128 | |
| 2129 | fn apply_import_ignores(&self, commit: &mut ParsedCommit) { |
| 2130 | if self.ignore_matcher.is_empty() || commit.files.is_empty() { |
| 2131 | return; |
| 2132 | } |
| 2133 | |
| 2134 | commit |
| 2135 | .files |
| 2136 | .retain(|file| !self.file_ignored_for_import(file)); |
| 2137 | if commit.files.is_empty() { |
| 2138 | commit.is_empty = true; |
| 2139 | } |
| 2140 | } |
| 2141 | |
| 2142 | /// Import commits from a branch into an Atomic repository. |
| 2143 | /// |
no test coverage detected