Skip to content
Snippets Groups Projects
Commit 33703cac authored by nicolas's avatar nicolas
Browse files

src/commit.rs: usage of --patterns-from instead of exclude-from option for borg

parent 67361b25
Branches
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ pub fn commit(compression: String, mut commit_id: String, update: bool) {
&compression,
];
if has_ignore {
margs.push("--exclude-from");
margs.push("--patterns-from");
margs.push(borgignore.to_str().unwrap());
}
let cmd_part = format!("{}::{}", borg_folder.to_str().unwrap(), commit_id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment