diff --git a/src/commit.rs b/src/commit.rs index 71ae66d891967c93aab406960587c00e681534ce..078c9c91125b426f750f3e5e84947d9b27c37151 100644 --- a/src/commit.rs +++ b/src/commit.rs @@ -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);