aaa74964a8f5908716f5bc8658116db096467702
- Author
- Adam Johnson <me@adamj.eu>
- Committer
- GitHub <noreply@github.com>
- Date
Message
fix(git): remove `--text` from `gsts` (#11897)
Diff
1diff --git a/plugins/git/README.md b/plugins/git/README.md
2index 9621a312e05b6a924c2f5555abbc9f772120f39b..390f520018ae4afaba6c30c88430292fa0c8f736 100644
3--- a/plugins/git/README.md
4+++ b/plugins/git/README.md
5@@ -183,7 +183,7 @@ plugins=(... git)
6 | `gstp` | `git stash pop` |
7 | `gsta` | On Git >= 2.13: `git stash push` |
8 | `gsta` | On Git < 2.13: `git stash save` |
9-| `gsts` | `git stash show --text` |
10+| `gsts` | `git stash show` |
11 | `gst` | `git status` |
12 | `gss` | `git status --short` |
13 | `gsb` | `git status --short -b` |
14diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
15index 4afe34e992fe157ff1091960a0d80c2234e140ab..426f51979b92971dc6a4d38f37077af25a71a338 100644
16--- a/plugins/git/git.plugin.zsh
17+++ b/plugins/git/git.plugin.zsh
18@@ -331,7 +331,7 @@ alias gstp='git stash pop'
19 is-at-least 2.13 "$git_version" \
20 && alias gsta='git stash push' \
21 || alias gsta='git stash save'
22-alias gsts='git stash show --text'
23+alias gsts='git stash show'
24 alias gst='git status'
25 alias gss='git status --short'
26 alias gsb='git status --short --branch'