From d646da59a9f680e692b49dab3cdbb1fcc3296685 Mon Sep 17 00:00:00 2001 From: Paul-Sebastian Ungureanu Date: Wed, 8 Aug 2018 21:58:52 +0300 Subject: [PATCH] stash: update `git stash show` documentation Add in documentation about the change of behavior regarding the `--quiet` option, which was introduced in the last commit. (the `--quiet` option does not exit anymore with erorr if it is given an empty stash as argument) Signed-off-by: Paul-Sebastian Ungureanu Signed-off-by: Junio C Hamano --- Documentation/git-stash.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt index e31ea7d303..d60ebdb962 100644 --- a/Documentation/git-stash.txt +++ b/Documentation/git-stash.txt @@ -117,6 +117,9 @@ show [] []:: You can use stash.showStat and/or stash.showPatch config variables to change the default behavior. + It accepts any option known to `git diff`, but acts different on + `--quiet` option and exit with zero regardless of differences. + pop [--index] [-q|--quiet] []:: Remove a single stashed state from the stash list and apply it