Execute stash apply (apply without deleting).
(&self, repo: &mut Repository, stash_ref: Option<&str>)
| 549 | |
| 550 | /// Execute stash apply (apply without deleting). |
| 551 | fn run_apply(&self, repo: &mut Repository, stash_ref: Option<&str>) -> CliResult<()> { |
| 552 | let stash = self.parse_stash_ref(repo, stash_ref)?; |
| 553 | self.apply_stash(repo, &stash)?; |
| 554 | print_hint(&format!( |
| 555 | "Stash {} still exists. Use 'atomic stash drop' to remove it.", |
| 556 | stash.reference() |
| 557 | )); |
| 558 | Ok(()) |
| 559 | } |
| 560 | |
| 561 | /// Apply a stash to the current working copy. |
| 562 | /// |
no test coverage detected