Thread (167 messages) 167 messages, 8 authors, 2018-11-09

[GSoC][PATCH v7 13/26] stash: update `git stash show` documentation

From: Paul-Sebastian Ungureanu <hidden>
Date: 2018-08-08 18:59:31
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

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 <redacted>
---
 Documentation/git-stash.txt | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt
index e31ea7d30..d60ebdb96 100644
--- a/Documentation/git-stash.txt
+++ b/Documentation/git-stash.txt
@@ -117,6 +117,9 @@ show [<options>] [<stash>]::
 	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] [<stash>]::
 
 	Remove a single stashed state from the stash list and apply it
-- 
2.18.0.573.g56500d98f
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help