Browse Source

fix(git): remove `--text` from `gsts` (#11897)

Adam Johnson 8 months ago
parent
commit
aaa74964a8
2 changed files with 2 additions and 2 deletions
  1. 1 1
      plugins/git/README.md
  2. 1 1
      plugins/git/git.plugin.zsh

+ 1 - 1
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`                                                                                                                                             |

+ 1 - 1
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'