Skip to content

Commit

Permalink
fixup! config: Add a core/change-update-summary option
Browse files Browse the repository at this point in the history
  • Loading branch information
mwleeds committed Jul 26, 2018
1 parent 6087c81 commit 0b3b563
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/libostree/ostree-repo-refs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1141,10 +1141,12 @@ _ostree_repo_write_ref (OstreeRepo *self,
return FALSE;
}

if (!self->in_transaction && !_ostree_repo_maybe_regenerate_summary (self, cancellable, error))
if (!_ostree_repo_update_mtime (self, error))
return FALSE;

if (!_ostree_repo_update_mtime (self, error))
/* Update the summary after updating the mtime so the summary doesn't look
* out of date */
if (!self->in_transaction && !_ostree_repo_maybe_regenerate_summary (self, cancellable, error))
return FALSE;

return TRUE;
Expand Down

0 comments on commit 0b3b563

Please sign in to comment.