Show "Restore Checkpoint" only when there were changes (#27243)

Release Notes:

- N/A

---------

Co-authored-by: Agus Zubiaga <hi@aguz.me>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
This commit is contained in:
Antonio Scandurra
2025-03-21 15:10:43 +01:00
committed by GitHub
co-authored by Agus Zubiaga Bennet Bo Fenner Danilo Leal
parent 9d965bc98a
commit e14ebcf267
9 changed files with 349 additions and 111 deletions
+9
View File
@@ -420,4 +420,13 @@ impl GitRepository for FakeGitRepository {
) -> BoxFuture<Result<()>> {
unimplemented!()
}
fn compare_checkpoints(
&self,
_left: GitRepositoryCheckpoint,
_right: GitRepositoryCheckpoint,
_cx: AsyncApp,
) -> BoxFuture<Result<bool>> {
unimplemented!()
}
}