diff options
author | Stephen Jung <tummychow511@gmail.com> | 2024-02-22 21:19:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-22 21:19:01 -0500 |
commit | 656261484570534ac4ce8d373bfea8c32b8910d1 (patch) | |
tree | c2b19681a55f640bb9a1e31ad1600848e87a82a8 | |
parent | 4c30f100188f96046cbe7a514823a8ca97ed7a52 (diff) | |
parent | 399c747b106ce26d7f88c319d95748cf7dd553b6 (diff) |
Merge pull request #100 from kiprasmel/rebase-autostash
rebase: add `--autostash` arg to perform rebase even if uncommitted changes left
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |