mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
support avoiding snapshots
This commit is contained in:
parent
b97f6dc4d5
commit
ed3475d9ea
5 changed files with 85 additions and 31 deletions
|
@ -6,7 +6,8 @@ pub(crate) fn execute<W: WriteColor>(
|
|||
replica: &mut Replica,
|
||||
server: &mut Box<dyn Server>,
|
||||
) -> Result<(), crate::Error> {
|
||||
replica.sync(server)?;
|
||||
// TODO: configurable avoid_snapshots
|
||||
replica.sync(server, false)?;
|
||||
writeln!(w, "sync complete.")?;
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue