Execute stash push from another command (e.g., `view switch --stash`). This is the public entry point for programmatic stash push.
(
&self,
repo: &mut Repository,
message: Option<String>,
include_untracked: bool,
keep: bool,
)
| 386 | /// |
| 387 | /// This is the public entry point for programmatic stash push. |
| 388 | pub fn run_push_on( |
| 389 | &self, |
| 390 | repo: &mut Repository, |
| 391 | message: Option<String>, |
| 392 | include_untracked: bool, |
| 393 | keep: bool, |
| 394 | ) -> CliResult<()> { |
| 395 | self.run_push(repo, message, include_untracked, keep) |
| 396 | } |
| 397 | |
| 398 | /// Execute stash push (save changes). |
| 399 | fn run_push( |