summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/git-restore-autosave.rs2
-rw-r--r--src/lib.rs1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/git-restore-autosave.rs b/src/bin/git-restore-autosave.rs
index b53df76..a8fdb9a 100644
--- a/src/bin/git-restore-autosave.rs
+++ b/src/bin/git-restore-autosave.rs
@@ -70,7 +70,7 @@ fn main() -> Result<(), anyhow::Error> {
eprintln!("ERROR: There are no available autosaves for the given filters.");
if !all_users || !all_branches || !anytime {
eprintln!(
- "hint: Use --all-users, --all-branches, or --anytime to include more options."
+ "hint: Use --all-users, --all-branches, --all-devices, or --anytime to include more options."
);
}
std::process::exit(1);
diff --git a/src/lib.rs b/src/lib.rs
index 1cf0a98..c876775 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -41,6 +41,7 @@ pub const AUTOSAVE_REFSPEC: &str = "+refs/autosave/autosaves/*:refs/autosave/aut
pub const UNDO_RESTORE_REF: &str = "refs/autosave/undo";
pub const RESTORED_AUTOSAVE_REF: &str = "refs/autosave/restored";
+#[derive(Debug)]
pub struct Autosave {
pub repo_id: String,
pub branch_name: String,