diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-02-21 12:16:12 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-22 00:16:59 +0100 |
commit | af2f36809182c24ee92d3b13ed3cc5a1fb6e10df (patch) | |
tree | b38fc67f7754fe400b2e633e00ad8a3d8d30e710 /Documentation/diff-options.txt | |
parent | diff-parseopt: convert --[no-]compact-summary (diff) | |
download | git-af2f36809182c24ee92d3b13ed3cc5a1fb6e10df.tar.xz git-af2f36809182c24ee92d3b13ed3cc5a1fb6e10df.zip |
diff-parseopt: convert --output-*
This also validates that the user specifies a single character in
--output-indicator-*, not a string.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/diff-options.txt')
-rw-r--r-- | Documentation/diff-options.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt index 7b81b852ca..56b731eae5 100644 --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@ -41,6 +41,16 @@ ifndef::git-format-patch[] Implies `-p`. endif::git-format-patch[] +--output=<file>:: + Output to a specific file instead of stdout. + +--output-indicator-new=<char>:: +--output-indicator-old=<char>:: +--output-indicator-context=<char>:: + Specify the character used to indicate new, old or context + lines in the generated patch. Normally they are '+', '-' and + ' ' respectively. + ifndef::git-format-patch[] --raw:: ifndef::git-log[] |