Execute stash apply (apply without deleting).
(&self, repo: &mut Repository, stash_ref: Option<&str>)
| 325 | |
| 326 | /// Execute stash apply (apply without deleting). |
| 327 | fn run_apply(&self, repo: &mut Repository, stash_ref: Option<&str>) -> CliResult<()> { |
| 328 | let stash = self.parse_stash_ref(repo, stash_ref)?; |
| 329 | self.apply_stash(repo, &stash)?; |
| 330 | print_hint(&format!( |
| 331 | "Stash {} still exists. Use 'atomic stash drop' to remove it.", |
| 332 | stash.reference() |
| 333 | )); |
| 334 | Ok(()) |
| 335 | } |
| 336 | |
| 337 | /// Apply a stash to the current working copy: the sidecar bytes are |
| 338 | /// copied back to disk (a pure filesystem operation — no graph |
no test coverage detected