(&self, commit: &mut ParsedCommit)
| 2240 | } |
| 2241 | |
| 2242 | fn apply_import_ignores(&self, commit: &mut ParsedCommit) { |
| 2243 | if self.ignore_matcher.is_empty() || commit.files.is_empty() { |
| 2244 | return; |
| 2245 | } |
| 2246 | |
| 2247 | commit |
| 2248 | .files |
| 2249 | .retain(|file| !self.file_ignored_for_import(file)); |
| 2250 | if commit.files.is_empty() { |
| 2251 | commit.is_empty = true; |
| 2252 | } |
| 2253 | } |
| 2254 | |
| 2255 | /// Import commits from a branch into an Atomic repository. |
| 2256 | /// |
no test coverage detected