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,
)
| 257 | /// |
| 258 | /// This is the public entry point for programmatic stash push. |
| 259 | pub fn run_push_on( |
| 260 | &self, |
| 261 | repo: &mut Repository, |
| 262 | message: Option<String>, |
| 263 | include_untracked: bool, |
| 264 | keep: bool, |
| 265 | ) -> CliResult<()> { |
| 266 | self.run_push(repo, message, include_untracked, keep) |
| 267 | } |
| 268 | |
| 269 | /// Execute stash push (save changes). |
| 270 | fn run_push( |