Apply patch sets by value in preparation for AppliedPatchSet

This commit is contained in:
Lucien Greathouse
2019-09-19 11:10:25 -07:00
parent 9b601eb9fe
commit ec8861e983
4 changed files with 27 additions and 23 deletions

View File

@@ -105,7 +105,7 @@ pub fn build(options: &BuildOptions) -> Result<(), BuildError> {
let patch_set = compute_patch_set(&snapshot, &tree, root_id);
log::trace!("Applying patch set");
apply_patch_set(&mut tree, &patch_set);
apply_patch_set(&mut tree, patch_set);
log::trace!("Opening output file for write");
let mut file = BufWriter::new(File::create(&options.output_file)?);