summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d54d0c7..fe9e3e6 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -321,7 +321,7 @@ fn run_with_repo(config: &Config, repo: &git2::Repository) -> Result<()> {
assert!(number_of_parents <= 1);
let mut command = Command::new("git");
- command.args(&["rebase", "--interactive", "--autosquash"]);
+ command.args(&["rebase", "--interactive", "--autosquash", "--autostash"]);
if number_of_parents == 0 {
command.arg("--root");