<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-commit.txt, branch v2.8.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.8.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.8.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2016-01-05T21:42:39Z</updated>
<entry>
<title>Expand documentation describing --signoff</title>
<updated>2016-01-05T21:42:39Z</updated>
<author>
<name>David A. Wheeler</name>
<email>dwheeler@dwheeler.com</email>
</author>
<published>2016-01-05T19:20:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b2c150d3aa82f6583b9aadfecc5f8fa1c74aca09'/>
<id>urn:sha1:b2c150d3aa82f6583b9aadfecc5f8fa1c74aca09</id>
<content type='text'>
Modify various document (man page) files to explain
in more detail what --signoff means.

This was inspired by https://lwn.net/Articles/669976/ where
paulj noted, "adding [the] '-s' argument to [a] git commit
doesn't really mean you have even heard of the DCO...".
Extending git's documentation will make it easier to argue
that developers understood --signoff when they use it.

Signed-off-by: David A. Wheeler &lt;dwheeler@dwheeler.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: explain optional arguments better</title>
<updated>2015-09-21T17:48:23Z</updated>
<author>
<name>Matthieu Moy</name>
<email>Matthieu.Moy@imag.fr</email>
</author>
<published>2015-09-19T07:47:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2b594bf90d84fd96f2b1fe904c1e62e391ceb4a0'/>
<id>urn:sha1:2b594bf90d84fd96f2b1fe904c1e62e391ceb4a0</id>
<content type='text'>
Improve the documentation of commands taking optional arguments in two
ways:

* Documents the behavior of '-O' (for grep) and '-S' (for commands
  creating commits) when used without the optional argument.

* Document the syntax of these options.

For the second point, the behavior is documented in gitcli(7), but it is
easy for users to miss, and hard for the same user to understand why e.g.
"git status -u no" does not work.

Document this explicitly in the documentation of each short option having
an optional argument: they are the most error prone since there is no '='
sign between the option and its argument.

Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Reviewed-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: use 'keyid' consistently, not 'key-id'</title>
<updated>2015-09-21T17:48:17Z</updated>
<author>
<name>Matthieu Moy</name>
<email>Matthieu.Moy@imag.fr</email>
</author>
<published>2015-09-19T07:47:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=340f2c5e631c788c0e4a508c21349e04ceed7966'/>
<id>urn:sha1:340f2c5e631c788c0e4a508c21349e04ceed7966</id>
<content type='text'>
Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Reviewed-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'mc/commit-doc-grammofix'</title>
<updated>2015-06-01T19:45:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-06-01T19:45:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1fd63cac50ea2ea95bb217a45c72084af3353d4f'/>
<id>urn:sha1:1fd63cac50ea2ea95bb217a45c72084af3353d4f</id>
<content type='text'>
Doc grammar fix.

* mc/commit-doc-grammofix:
  Documentation/git-commit: grammofix
</content>
</entry>
<entry>
<title>Documentation/git-commit: grammofix</title>
<updated>2015-05-20T04:20:58Z</updated>
<author>
<name>Michael Coleman</name>
<email>michael.karl.coleman@gmail.com</email>
</author>
<published>2015-05-20T02:41:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5c2a581dc9c7ce61c0dfbbdc56fc951aa0b8288f'/>
<id>urn:sha1:5c2a581dc9c7ce61c0dfbbdc56fc951aa0b8288f</id>
<content type='text'>
Signed-off-by: Michael Coleman &lt;michael.karl.coleman@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: clarify how "git commit" cleans up the edited log message</title>
<updated>2015-04-27T18:32:55Z</updated>
<author>
<name>Fredrik Gustafsson</name>
<email>iveqy@iveqy.com</email>
</author>
<published>2015-04-25T05:42:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9a35c14d64c3f76f99dd2853077e27cde2a30db7'/>
<id>urn:sha1:9a35c14d64c3f76f99dd2853077e27cde2a30db7</id>
<content type='text'>
The `-v` shows a unified diff in the editor to edit the commit
message to help the user to describe the change.  The diff is
stripped and will not become a part of the commit message.

Add a note about this with the `-v` description and slightly modify
the description for the default `--cleanup` mode.

Signed-off-by: Fredrik Gustafsson &lt;iveqy@iveqy.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'nd/config-doc-camelCase'</title>
<updated>2015-03-23T18:28:12Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-23T18:28:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=aa65b8602584fa91558b528527ff9008c1cceb69'/>
<id>urn:sha1:aa65b8602584fa91558b528527ff9008c1cceb69</id>
<content type='text'>
Documentation updates.

* nd/config-doc-camelCase:
  *config.txt: stick to camelCase naming convention
</content>
</entry>
<entry>
<title>*config.txt: stick to camelCase naming convention</title>
<updated>2015-03-14T05:13:46Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2015-03-11T20:32:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=da0005b8853137c91e44867d899910d5c7eb4425'/>
<id>urn:sha1:da0005b8853137c91e44867d899910d5c7eb4425</id>
<content type='text'>
This should improve readability. Compare "thislongname" and
"thisLongName". The following keys are left in unchanged. We can
decide what to do with them later.

 - am.keepcr
 - core.autocrlf .safecrlf .trustctime
 - diff.dirstat .noprefix
 - gitcvs.usecrlfattr
 - gui.blamehistoryctx .trustmtime
 - pull.twohead
 - receive.autogc
 - sendemail.signedoffbycc .smtpsslcertpath .suppresscc

Helped-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>commit/status: show the index-worktree diff with -v -v</title>
<updated>2015-03-06T18:51:48Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@drmicha.warpmail.net</email>
</author>
<published>2015-03-06T09:43:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=40555000935147f56896e75b919b25f1f2d23aca'/>
<id>urn:sha1:40555000935147f56896e75b919b25f1f2d23aca</id>
<content type='text'>
git commit and git status in long format show the diff between HEAD
and the index when given -v. This allows previewing a commit to be made.

They also list tracked files with unstaged changes, but without a diff.

Introduce '-v -v' which shows the diff between the index and the
worktree in addition to the HEAD index diff. This allows a review of unstaged
changes which might be missing from the commit.

In the case of '-v -v', additonal header lines

Changes to be committed:

and

Changes not staged for commit:

are inserted before the diffs, which are equal to those in the status
part; the latter preceded by 50*"-" to make it stick out more.

Signed-off-by: Michael J Gruber &lt;git@drmicha.warpmail.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/doc-commit-only'</title>
<updated>2014-11-18T18:19:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-11-18T18:19:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0cfd333d0bf89c0562f46a76b4ffea2a537cb01f'/>
<id>urn:sha1:0cfd333d0bf89c0562f46a76b4ffea2a537cb01f</id>
<content type='text'>
* jc/doc-commit-only:
  Documentation/git-commit: clarify that --only/--include records the working tree contents
</content>
</entry>
</feed>
