fix(git): restore showing patch in gsts (#11951)

This commit is contained in:
Adam Johnson 2023-10-10 16:56:54 +01:00 committed by GitHub
parent 38db3e16ef
commit b1821a24f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -185,7 +185,7 @@ plugins=(... git)
| `gstp` | `git stash pop` | | `gstp` | `git stash pop` |
| `gsta` | On Git >= 2.13: `git stash push` | | `gsta` | On Git >= 2.13: `git stash push` |
| `gsta` | On Git < 2.13: `git stash save` | | `gsta` | On Git < 2.13: `git stash save` |
| `gsts` | `git stash show` | | `gsts` | `git stash show --patch` |
| `gst` | `git status` | | `gst` | `git status` |
| `gss` | `git status --short` | | `gss` | `git status --short` |
| `gsb` | `git status --short -b` | | `gsb` | `git status --short -b` |

View file

@ -349,7 +349,7 @@ alias gstp='git stash pop'
is-at-least 2.13 "$git_version" \ is-at-least 2.13 "$git_version" \
&& alias gsta='git stash push' \ && alias gsta='git stash push' \
|| alias gsta='git stash save' || alias gsta='git stash save'
alias gsts='git stash show' alias gsts='git stash show --patch'
alias gst='git status' alias gst='git status'
alias gss='git status --short' alias gss='git status --short'
alias gsb='git status --short --branch' alias gsb='git status --short --branch'