<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-diff.txt, branch v2.5.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.5.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.5.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-03-31T22:16:22Z</updated>
<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>
<entry>
<title>Documentation: the name of the system is 'Git', not 'git'</title>
<updated>2013-02-01T21:53:33Z</updated>
<author>
<name>Thomas Ackermann</name>
<email>th.acker@arcor.de</email>
</author>
<published>2013-01-21T19:17:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2de9b71138171dca7279db3b3fe67e868c76d921'/>
<id>urn:sha1:2de9b71138171dca7279db3b3fe67e868c76d921</id>
<content type='text'>
Signed-off-by: Thomas Ackermann &lt;th.acker@arcor.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: Describe "git diff &lt;blob&gt; &lt;blob&gt;" separately</title>
<updated>2012-12-18T19:35:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-12-18T19:35:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bd52900df474cfbc67c89e3a2fb30e7ed2df8e78'/>
<id>urn:sha1:bd52900df474cfbc67c89e3a2fb30e7ed2df8e78</id>
<content type='text'>
As it was not a common operation, it was described as if it is a
side note for the more common two-commit variant, but this mode
behaves very differently, e.g. it does not make any sense to ask
recursive behaviour, or give the command a pathspec.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: drop author/documentation sections from most pages</title>
<updated>2011-03-11T15:59:16Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2011-03-11T05:52:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=48bb914ed641fc0880d86b16cbb17c84769c320a'/>
<id>urn:sha1:48bb914ed641fc0880d86b16cbb17c84769c320a</id>
<content type='text'>
The point of these sections is generally to:

  1. Give credit where it is due.

  2. Give the reader an idea of where to ask questions or
     file bug reports.

But they don't do a good job of either case. For (1), they
are out of date and incomplete. A much more accurate answer
can be gotten through shortlog or blame.  For (2), the
correct contact point is generally git@vger, and even if you
wanted to cc the contact point, the out-of-date and
incomplete fields mean you're likely sending to somebody
useless.

So let's drop the fields entirely from all manpages except
git(1) itself. We already point people to the mailing list
for bug reports there, and we can update the Authors section
to give credit to the major contributors and point to
shortlog and blame for more information.

Each page has a "This is part of git" footer, so people can
follow that to the main git manpage.
</content>
</entry>
<entry>
<title>diff: support --cached on unborn branches</title>
<updated>2011-02-07T23:04:30Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2011-02-03T06:23:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a2b7a3b3a966c5801efe968d4b5656fa5a885409'/>
<id>urn:sha1:a2b7a3b3a966c5801efe968d4b5656fa5a885409</id>
<content type='text'>
"git diff --cached" (without revision) used to mean "git diff --cached
HEAD" (i.e. the user was too lazy to type HEAD). This "correctly"
failed when there was no commit yet. But was that correctness useful?

This patch changes the definition of what particular command means.
It is a request to show what _would_ be committed without further "git
add". The internal implementation is the same "git diff --cached HEAD"
when HEAD exists, but when there is no commit yet, it compares the index
with an empty tree object to achieve the desired result.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
