<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-commit.txt, branch v2.16.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.16.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.16.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-07-18T22:04:49Z</updated>
<entry>
<title>doc: reformat the paragraph containing the 'cut-line'</title>
<updated>2017-07-18T22:04:49Z</updated>
<author>
<name>Kaartic Sivaraam</name>
<email>kaarticsivaraam91196@gmail.com</email>
</author>
<published>2017-07-18T14:34:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3a33fe5c97c0556303367bfd94411448113b1332'/>
<id>urn:sha1:3a33fe5c97c0556303367bfd94411448113b1332</id>
<content type='text'>
The paragraph that describes the 'scissors' cleanup mode of
'commit' had the 'cut-line' in the middle of a sentence. This
made it possible for the line to get wrapped on smaler windows.
This shouldn't be the case as it makes it hard for the user to
understand the structure of the cut-line.

Reformat the pragraph to make the 'cut-line' stand on a line of
it's own thus distinguishing it from the rest of the paragraph.
This further prevents it from getting wrapped to some extent.

Signed-off-by: Kaartic Sivaraam &lt;kaarticsivaraam91196@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>fix minor typos</title>
<updated>2017-05-01T02:01:52Z</updated>
<author>
<name>René Genz</name>
<email>liebundartig@freenet.de</email>
</author>
<published>2017-04-30T15:48:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5621760f59c0655e41045c3141deef9791858916'/>
<id>urn:sha1:5621760f59c0655e41045c3141deef9791858916</id>
<content type='text'>
Helped-by: Stefan Beller &lt;sbeller@google.com&gt;
Signed-off-by: René Genz &lt;liebundartig@freenet.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'nd/commit-hook-doc-fix'</title>
<updated>2017-03-21T22:07:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-03-21T22:07:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fbcfbc4d5de6b307a9a7dc12fb6e969914abd17c'/>
<id>urn:sha1:fbcfbc4d5de6b307a9a7dc12fb6e969914abd17c</id>
<content type='text'>
Doc fix.

* nd/commit-hook-doc-fix:
  git-commit.txt: list post-rewrite in HOOKS section
</content>
</entry>
<entry>
<title>git-commit.txt: list post-rewrite in HOOKS section</title>
<updated>2017-03-20T17:53:29Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2017-03-19T09:01:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=baced9e4e5f0206f76f538ea1517c5097443359d'/>
<id>urn:sha1:baced9e4e5f0206f76f538ea1517c5097443359d</id>
<content type='text'>
The hook was added in a86ed83cce (Merge branch 'tr/notes-display' -
2010-03-24), which updated githooks.txt but not git-commit.txt.

git-commit.txt was later updated in e858af6d50 (commit: document a
couple of options - 2012-06-08). Since this commit focused on command
line options, this section was probably forgotten.

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>
<entry>
<title>Documentation: improve description for core.quotePath</title>
<updated>2017-03-02T19:40:51Z</updated>
<author>
<name>Andreas Heiduk</name>
<email>asheiduk@gmail.com</email>
</author>
<published>2017-03-02T19:03:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=860cd699c285f02937a2edbdb78e8231292339a5'/>
<id>urn:sha1:860cd699c285f02937a2edbdb78e8231292339a5</id>
<content type='text'>
Linking the description for pathname quoting to the configuration
variable "core.quotePath" removes inconstistent and incomplete
sections while also giving two hints how to deal with it: Either with
"-c core.quotePath=false" or with "-z".

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>Merge branch 'ak/commit-only-allow-empty'</title>
<updated>2016-12-19T22:45:34Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-12-19T22:45:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3aead1cad7a9a35534b86763bbe8c97dfd3f1a03'/>
<id>urn:sha1:3aead1cad7a9a35534b86763bbe8c97dfd3f1a03</id>
<content type='text'>
"git commit --allow-empty --only" (no pathspec) with dirty index
ought to be an acceptable way to create a new commit that does not
change any paths, but it was forbidden, perhaps because nobody
needed it so far.

* ak/commit-only-allow-empty:
  commit: remove 'Clever' message for --only --amend
  commit: make --only --allow-empty work without paths
</content>
</entry>
<entry>
<title>commit: make --only --allow-empty work without paths</title>
<updated>2016-12-05T20:41:06Z</updated>
<author>
<name>Andreas Krey</name>
<email>a.krey@gmx.de</email>
</author>
<published>2016-12-02T22:15:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=319d835240b752b94ccb67f6515759824955937b'/>
<id>urn:sha1:319d835240b752b94ccb67f6515759824955937b</id>
<content type='text'>
--only is implied when paths are present, and required
them unless --amend. But with --allow-empty it should
be allowed as well - it is the only way to create an
empty commit in the presence of staged changes.

Signed-off-by: Andreas Krey &lt;a.krey@gmx.de&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 'nd/commit-p-doc'</title>
<updated>2016-10-17T20:25:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-10-17T20:25:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=af9a70c8de7b1d45ecd0bbb1379c5c3e911a9dcd'/>
<id>urn:sha1:af9a70c8de7b1d45ecd0bbb1379c5c3e911a9dcd</id>
<content type='text'>
Documentation for "git commit" was updated to clarify that "commit
-p &lt;paths&gt;" adds to the current contents of the index to come up
with what to commit.

* nd/commit-p-doc:
  git-commit.txt: clarify --patch mode with pathspec
</content>
</entry>
<entry>
<title>git-commit.txt: clarify --patch mode with pathspec</title>
<updated>2016-10-05T17:17:40Z</updated>
<author>
<name>Duy Nguyen</name>
<email>pclouds@gmail.com</email>
</author>
<published>2016-10-05T10:26:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7431596ab1f05a13adb93b44108f27cfd6578a31'/>
<id>urn:sha1:7431596ab1f05a13adb93b44108f27cfd6578a31</id>
<content type='text'>
How pathspec is used, with and without --interactive/--patch, is
different. But this is not clear from the document. These changes hint
the user to keep reading (to option #5) instead of stopping at #2 and
assuming --patch/--interactive behaves the same way.

And since all the options listed here always mention how the index is
involved (or not) in the final commit, add that bit for #5 as well. This
"on top of the index" is implied when you head over git-add(1), but if
you just go straight to the "Interactive mode" and not read what git-add
is for, you may miss it.

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>
<entry>
<title>Merge branch 'mm/doc-tt' into maint</title>
<updated>2016-07-28T18:25:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-07-28T18:25:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1032eb9c2aa34b4a908fb9d2d1cfe9680e0c34ce'/>
<id>urn:sha1:1032eb9c2aa34b4a908fb9d2d1cfe9680e0c34ce</id>
<content type='text'>
More mark-up updates to typeset strings that are expected to
literally typed by the end user in fixed-width font.

* mm/doc-tt:
  doc: typeset HEAD and variants as literal
  CodingGuidelines: formatting HEAD in documentation
  doc: typeset long options with argument as literal
  doc: typeset '--' as literal
  doc: typeset long command-line options as literal
  doc: typeset short command-line options as literal
  Documentation/git-mv.txt: fix whitespace indentation
</content>
</entry>
</feed>
