summaryrefslogtreecommitdiff
path: root/src/git.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/git.rs')
-rw-r--r--src/git.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/git.rs b/src/git.rs
index 9aa8a52..5bb53f0 100644
--- a/src/git.rs
+++ b/src/git.rs
@@ -49,7 +49,7 @@ pub fn commit<P: AsRef<Path>>(dirname: P, msg: &str) -> Result<(), JournalError>
debug!("git commit in {}", dirname.display());
let output = Command::new("git")
- .args(&["commit", "-m", msg])
+ .args(["commit", "-m", msg])
.current_dir(dirname)
.output()
.map_err(|err| JournalError::SpawnGit(dirname.to_path_buf(), err))?;