summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJerry Zhang <jerry@skydio.com>2021-12-13 22:03:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-12-13 22:30:22 (GMT)
commitc21b8ae857d0d58b67ca77384ccc1880d834c2d5 (patch)
tree8da78d929580a8cf4ce1f575ee264e03f1cde5cc /Documentation
parente773545c7fe7eca21b134847f4fc2cbc9547fa14 (diff)
downloadgit-c21b8ae857d0d58b67ca77384ccc1880d834c2d5.zip
git-c21b8ae857d0d58b67ca77384ccc1880d834c2d5.tar.gz
git-c21b8ae857d0d58b67ca77384ccc1880d834c2d5.tar.bz2
git-apply: add --quiet flag
Replace OPT_VERBOSE with OPT_VERBOSITY. This adds a --quiet flag to "git apply" so the user can turn down the verbosity. Signed-off-by: Jerry Zhang <jerry@skydio.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-apply.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/git-apply.txt b/Documentation/git-apply.txt
index aa1ae56..a32ad64 100644
--- a/Documentation/git-apply.txt
+++ b/Documentation/git-apply.txt
@@ -16,7 +16,7 @@ SYNOPSIS
[--ignore-space-change | --ignore-whitespace]
[--whitespace=(nowarn|warn|fix|error|error-all)]
[--exclude=<path>] [--include=<path>] [--directory=<root>]
- [--verbose] [--unsafe-paths] [<patch>...]
+ [--verbose | --quiet] [--unsafe-paths] [<patch>...]
DESCRIPTION
-----------
@@ -228,6 +228,11 @@ behavior:
current patch being applied will be printed. This option will cause
additional information to be reported.
+-q::
+--quiet::
+ Suppress stderr output. Messages about patch status and progress
+ will not be printed.
+
--recount::
Do not trust the line counts in the hunk headers, but infer them
by inspecting the patch (e.g. after editing the patch without