| Summary: | Add a git stash pop command | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Maciej Bendkowski <maciej.bendkowski> |
| Component: | Git | Assignee: | Maciej Bendkowski <maciej.bendkowski> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | 6.0 | ||
| Target Milestone: | 7.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=359273 | ||
| Whiteboard: | |||
Fixed with: http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=7582a1a98a895c13f97050abf8d3e4374a501063 http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=3263414b9cf90d70ac2e3370739762370d079ae8 Note that JGit does not support an atomic git stash pop command (see bug 441493) and therefore had to be mimicked by a non-atomic apply & drop. |
Git stash pop is equivalent to applying the latest change, i.e. stash@{0}, and then dropping it. As the stash is usually one commit in size, it's a great "click-saver" command.