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

@@ -72,7 +72,7 @@ pub fn upload(options: UploadOptions) -> Result<(), UploadError> {
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);
let root_id = tree.get_root_id();