diff options
Diffstat (limited to 'src/git.rs')
-rw-r--r-- | src/git.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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))?; |