<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-diff.txt, branch v2.18.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.18.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.18.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2018-05-25T08:16:47Z</updated>
<entry>
<title>Use proper syntax for replaceables in command docs</title>
<updated>2018-05-25T08:16:47Z</updated>
<author>
<name>Robert P. J. Day</name>
<email>rpjday@crashcourse.ca</email>
</author>
<published>2018-05-24T20:11:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=de613050efec781e8380a0267879a25b2d489513'/>
<id>urn:sha1:de613050efec781e8380a0267879a25b2d489513</id>
<content type='text'>
The standard for command documentation synopses appears to be:

  [...] means optional
  &lt;...&gt; means replaceable
  [&lt;...&gt;] means both optional and replaceable

So fix a number of doc pages that use incorrect variations of the
above.

Signed-off-by: Robert P. J. Day &lt;rpjday@crashcourse.ca&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: normalize [--options] to [options] in git-diff</title>
<updated>2018-05-06T09:38:43Z</updated>
<author>
<name>Andreas Heiduk</name>
<email>asheiduk@gmail.com</email>
</author>
<published>2018-05-03T18:48:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5356a3c3542774f05684b5c3999060492dce2e8d'/>
<id>urn:sha1:5356a3c3542774f05684b5c3999060492dce2e8d</id>
<content type='text'>
SYNOPSIS and other manuals use [options] but DESCRIPTION
used [--options].

Signed-off-by: Andreas Heiduk &lt;asheiduk@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: align 'diff --no-index' in text and synopsis</title>
<updated>2018-05-06T09:38:43Z</updated>
<author>
<name>Andreas Heiduk</name>
<email>asheiduk@gmail.com</email>
</author>
<published>2018-05-03T18:48:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e78e0f728eb043dc99de10fb3b4d58575f2df0c9'/>
<id>urn:sha1:e78e0f728eb043dc99de10fb3b4d58575f2df0c9</id>
<content type='text'>
Make the two '&lt;path&gt;' parameters in DESCRIPTION mandatory and
move the `--options` part to the same place where the other
variants show them. And finally make `--no-index` in SYNOPSIS
as mandatory as in DESCRIPTION.

Signed-off-by: Andreas Heiduk &lt;asheiduk@gmail.com&gt;
Reviewed-by: Martin Ågren &lt;martin.agren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff-files: document --ours etc.</title>
<updated>2017-04-13T23:15:25Z</updated>
<author>
<name>Andreas Heiduk</name>
<email>asheiduk@gmail.com</email>
</author>
<published>2017-04-11T14:39:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=47242cd1037483896bb2b042e6a02c66b65b07d6'/>
<id>urn:sha1:47242cd1037483896bb2b042e6a02c66b65b07d6</id>
<content type='text'>
git-diff understands "--ours", "--theirs" and "--base" for files with
conflicts. But so far they were not documented for the central diff
command but only for diff-files.

Signed-off-by: Andreas Heiduk &lt;asheiduk@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: fix misuses of "nor"</title>
<updated>2014-03-31T22:16:22Z</updated>
<author>
<name>Justin Lebar</name>
<email>jlebar@google.com</email>
</author>
<published>2014-03-31T22:11:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a58088abe2011b6f486de8acd54432f6d9bcecfc'/>
<id>urn:sha1:a58088abe2011b6f486de8acd54432f6d9bcecfc</id>
<content type='text'>
Signed-off-by: Justin Lebar &lt;jlebar@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: fix typos in man pages</title>
<updated>2014-02-05T22:35:45Z</updated>
<author>
<name>Øystein Walle</name>
<email>oystwa@gmail.com</email>
</author>
<published>2014-02-05T22:19:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5fe8f49b6d59cf143a5898ddbb161444a95fa871'/>
<id>urn:sha1:5fe8f49b6d59cf143a5898ddbb161444a95fa871</id>
<content type='text'>
Signed-off-by: Øystein Walle &lt;oystwa@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff --no-index: describe in a separate paragraph</title>
<updated>2013-08-28T22:17:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-08-28T22:17:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=286bc123cdabed76a1da25a32e97d392b37d51a2'/>
<id>urn:sha1:286bc123cdabed76a1da25a32e97d392b37d51a2</id>
<content type='text'>
The documentation for "diff-files" mode of "git diff" primarily
talks about how changes in the files in the working tree are shown
relative to the contents previously added to that index, and tucks
explanation on how "--no-index" mode, which works in a quite
different way, may be implicitly used instead.  Instead, add a
separate paragraph to explain what "--no-index" mode does, and also
mention when "--no-index" can be omitted from the command line
(essentially, when it is obvious from the context).

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff --no-index: clarify operation when not inside a repository</title>
<updated>2013-08-22T20:55:28Z</updated>
<author>
<name>Dale R. Worley</name>
<email>worley@alum.mit.edu</email>
</author>
<published>2013-08-22T20:31:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b214eddfb2d57e318a3f5b88da1cafcf19184b4d'/>
<id>urn:sha1:b214eddfb2d57e318a3f5b88da1cafcf19184b4d</id>
<content type='text'>
Clarify documentation for "diff --no-index".  State that when not
inside a repository, --no-index is implied and two arguments are
mandatory.

Clarify error message from diff-no-index to inform user that CWD is
not inside a repository and thus two arguments are mandatory.

Signed-off-by: Dale Worley &lt;worley@ariadne.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'kb/diff-blob-blob-doc' into maint</title>
<updated>2013-07-22T05:51:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-07-22T05:51:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=eac00c508df21f6675c07bbc559348eddd0fdd73'/>
<id>urn:sha1:eac00c508df21f6675c07bbc559348eddd0fdd73</id>
<content type='text'>
* kb/diff-blob-blob-doc:
  Documentation: Move "git diff &lt;blob&gt; &lt;blob&gt;"
</content>
</entry>
<entry>
<title>Documentation: Move "git diff &lt;blob&gt; &lt;blob&gt;"</title>
<updated>2013-06-18T16:33:12Z</updated>
<author>
<name>Kevin Bracey</name>
<email>kevin@bracey.fi</email>
</author>
<published>2013-06-18T14:58:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d7747bd5bcba5eaeda690d7d5897462580f3c0e4'/>
<id>urn:sha1:d7747bd5bcba5eaeda690d7d5897462580f3c0e4</id>
<content type='text'>
The section describing "git diff &lt;blob&gt; &lt;blob&gt;" had been placed in a
position that disrupted the statement "This is synonymous to the
previous form".

Reorder to place this form after all the &lt;commit&gt;-using forms, and the
note applying to them. Also mention this form in the initial description
paragraph.

Signed-off-by: Kevin Bracey &lt;kevin@bracey.fi&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
