Commit 12065f6
committed
cmd/git(fix[stash.pop]): Use stash@{N} format instead of pathspec separator
why: The pop() method used ["--", str(stash)] which git interprets as
a pathspec, not a stash reference. This caused all stash parameter
values to fail with "is not a valid reference" errors.
what:
- Format stash parameter as stash@{N} without -- separator1 parent 4d2d4f8 commit 12065f6
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4903 | 4903 | | |
4904 | 4904 | | |
4905 | 4905 | | |
4906 | | - | |
4907 | | - | |
4908 | | - | |
4909 | | - | |
4910 | 4906 | | |
4911 | 4907 | | |
4912 | 4908 | | |
4913 | 4909 | | |
4914 | 4910 | | |
| 4911 | + | |
| 4912 | + | |
4915 | 4913 | | |
4916 | 4914 | | |
4917 | 4915 | | |
4918 | | - | |
| 4916 | + | |
4919 | 4917 | | |
4920 | 4918 | | |
4921 | 4919 | | |
| |||
0 commit comments