+// Please don't remove this comment as asciidoc behaves badly when
+// the first non-empty line is ifdef/ifndef. The symptom is that
+// without this comment the <git-diff-core> attribute conditionally
+// defined below ends up being defined unconditionally.
+// Last checked with asciidoc 7.0.2.
+
+ifndef::git-format-patch[]
+ifndef::git-diff[]
+:git-diff-core: 1
+endif::git-diff[]
+endif::git-format-patch[]
+
+ifdef::git-format-patch[]
-p::
- Generate patch (see section on generating patches)
+ Generate patches without diffstat.
+endif::git-format-patch[]
+
+ifndef::git-format-patch[]
+-p::
+ Generate patch (see section on generating patches).
+ {git-diff? This is the default.}
+endif::git-format-patch[]
-u::
Synonym for "-p".
--raw::
Generate the raw format.
+ {git-diff-core? This is the default.}
--patch-with-raw::
Synonym for "-p --raw".
--patch-with-stat::
Synonym for "-p --stat".
+ {git-format-patch? This is the default.}
-z::
NUL-line termination on output. This affects the --raw
</dt>\r
<dd>\r
<p>\r
- Generate patch (see section on generating patches)\r
+ Generate patch (see section on generating patches).\r
+ \r
</p>\r
</dd>\r
<dt>\r
<dd>\r
<p>\r
Generate the raw format.\r
+ This is the default.\r
</p>\r
</dd>\r
<dt>\r
<dd>\r
<p>\r
Synonym for "-p --stat".\r
+ \r
</p>\r
</dd>\r
<dt>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 14-Nov-2007 12:11:27 UTC\r
+Last updated 16-Nov-2007 10:10:37 UTC\r
</div>\r
</div>\r
</body>\r
</dt>\r
<dd>\r
<p>\r
- Generate patch (see section on generating patches)\r
+ Generate patch (see section on generating patches).\r
+ \r
</p>\r
</dd>\r
<dt>\r
<dd>\r
<p>\r
Generate the raw format.\r
+ This is the default.\r
</p>\r
</dd>\r
<dt>\r
<dd>\r
<p>\r
Synonym for "-p --stat".\r
+ \r
</p>\r
</dd>\r
<dt>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 14-Nov-2007 12:11:28 UTC\r
+Last updated 16-Nov-2007 10:10:37 UTC\r
</div>\r
</div>\r
</body>\r
</dt>\r
<dd>\r
<p>\r
- Generate patch (see section on generating patches)\r
+ Generate patch (see section on generating patches).\r
+ \r
</p>\r
</dd>\r
<dt>\r
<dd>\r
<p>\r
Generate the raw format.\r
+ This is the default.\r
</p>\r
</dd>\r
<dt>\r
<dd>\r
<p>\r
Synonym for "-p --stat".\r
+ \r
</p>\r
</dd>\r
<dt>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 14-Nov-2007 12:11:28 UTC\r
+Last updated 16-Nov-2007 10:10:38 UTC\r
</div>\r
</div>\r
</body>\r
</dt>\r
<dd>\r
<p>\r
- Generate patch (see section on generating patches)\r
+ Generate patch (see section on generating patches).\r
+ This is the default.\r
</p>\r
</dd>\r
<dt>\r
<dd>\r
<p>\r
Generate the raw format.\r
+ \r
</p>\r
</dd>\r
<dt>\r
<dd>\r
<p>\r
Synonym for "-p --stat".\r
+ \r
</p>\r
</dd>\r
<dt>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 14-Nov-2007 12:11:29 UTC\r
+Last updated 16-Nov-2007 10:10:38 UTC\r
</div>\r
</div>\r
</body>\r
OPTIONS
-------
+:git-diff: 1
include::diff-options.txt[]
<path>...::
</dt>\r
<dd>\r
<p>\r
- Generate patch (see section on generating patches)\r
+ Generate patches without diffstat.\r
</p>\r
</dd>\r
<dt>\r
<dd>\r
<p>\r
Generate the raw format.\r
+ \r
</p>\r
</dd>\r
<dt>\r
<dd>\r
<p>\r
Synonym for "-p --stat".\r
+ This is the default.\r
</p>\r
</dd>\r
<dt>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 15-Nov-2007 00:12:54 UTC\r
+Last updated 16-Nov-2007 10:10:39 UTC\r
</div>\r
</div>\r
</body>\r
OPTIONS
-------
+:git-format-patch: 1
include::diff-options.txt[]
-<n>::
[-x <pattern>|--exclude=<pattern>]\r
[-X <file>|--exclude-from=<file>]\r
[--exclude-per-directory=<file>]\r
+ [--exclude-standard]\r
[--error-unmatch] [--with-tree=<tree-ish>]\r
[--full-name] [--abbrev] [--] [<file>]*</div></div>\r
</div>\r
</p>\r
</dd>\r
<dt>\r
+--exclude-standard\r
+</dt>\r
+<dd>\r
+<p>\r
+ Add the standard git exclusions: .git/info/exclude, .gitignore\r
+ in each directory, and the user's global exclusion file.\r
+</p>\r
+</dd>\r
+<dt>\r
--error-unmatch\r
</dt>\r
<dd>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 14-Nov-2007 12:11:35 UTC\r
+Last updated 16-Nov-2007 10:10:40 UTC\r
</div>\r
</div>\r
</body>\r
[-x <pattern>|--exclude=<pattern>]
[-X <file>|--exclude-from=<file>]
[--exclude-per-directory=<file>]
+ [--exclude-standard]
[--error-unmatch] [--with-tree=<tree-ish>]
[--full-name] [--abbrev] [--] [<file>]\*
read additional exclude patterns that apply only to the
directory and its subdirectories in <file>.
+--exclude-standard::
+ Add the standard git exclusions: .git/info/exclude, .gitignore
+ in each directory, and the user's global exclusion file.
+
--error-unmatch::
If any <file> does not appear in the index, treat this as an
error (return 1).