summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2023-09-26 08:18:54 +0100
committerGitHub <noreply@github.com>2023-09-26 09:18:54 +0200
commitaaa74964a8f5908716f5bc8658116db096467702 (patch)
treeb3c94f5865f9dd1be3d3247e790076c8d010b688 /plugins
parenta17789eedea4f6b9b5a9c970174d6d5dc0ef64ee (diff)
downloadzsh-aaa74964a8f5908716f5bc8658116db096467702.tar.gz
zsh-aaa74964a8f5908716f5bc8658116db096467702.tar.bz2
zsh-aaa74964a8f5908716f5bc8658116db096467702.zip
fix(git): remove `--text` from `gsts` (#11897)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/git/README.md2
-rw-r--r--plugins/git/git.plugin.zsh2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/git/README.md b/plugins/git/README.md
index 9621a312e..390f52001 100644
--- a/plugins/git/README.md
+++ b/plugins/git/README.md
@@ -183,7 +183,7 @@ plugins=(... git)
| `gstp` | `git stash pop` |
| `gsta` | On Git >= 2.13: `git stash push` |
| `gsta` | On Git < 2.13: `git stash save` |
-| `gsts` | `git stash show --text` |
+| `gsts` | `git stash show` |
| `gst` | `git status` |
| `gss` | `git status --short` |
| `gsb` | `git status --short -b` |
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
index 4afe34e99..426f51979 100644
--- a/plugins/git/git.plugin.zsh
+++ b/plugins/git/git.plugin.zsh
@@ -331,7 +331,7 @@ alias gstp='git stash pop'
is-at-least 2.13 "$git_version" \
&& alias gsta='git stash push' \
|| alias gsta='git stash save'
-alias gsts='git stash show --text'
+alias gsts='git stash show'
alias gst='git status'
alias gss='git status --short'
alias gsb='git status --short --branch'