<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-commit.txt, branch v2.0.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.0.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.0.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-04-08T18:59:27Z</updated>
<entry>
<title>Merge branch 'jc/rev-parse-argh-dashed-multi-words'</title>
<updated>2014-04-08T18:59:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-04-08T18:59:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b5a52fa6c694c891a259233b29eb0ef4a47db57b'/>
<id>urn:sha1:b5a52fa6c694c891a259233b29eb0ef4a47db57b</id>
<content type='text'>
Make sure that the help text given to describe the "&lt;param&gt;" part
of the "git cmd --option=&lt;param&gt;" does not contain SP or _,
e.g. "--gpg-sign=&lt;key-id&gt;" option for "git commit" is not spelled
as "--gpg-sign=&lt;key id&gt;".

* jc/rev-parse-argh-dashed-multi-words:
  parse-options: make sure argh string does not have SP or _
  update-index: teach --cacheinfo a new syntax "mode,sha1,path"
  parse-options: multi-word argh should use dash to separate words
</content>
</entry>
<entry>
<title>Merge branch 'nd/commit-editor-cleanup'</title>
<updated>2014-03-25T18:07:48Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-25T18:07:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=46c0f913a49218a8a94d30c5a2df792a16aab827'/>
<id>urn:sha1:46c0f913a49218a8a94d30c5a2df792a16aab827</id>
<content type='text'>
"git commit --cleanup=&lt;mode&gt;" learned a new mode, scissors.

* nd/commit-editor-cleanup:
  commit: add --cleanup=scissors
  wt-status.c: move cut-line print code out to wt_status_add_cut_line
  wt-status.c: make cut_line[] const to shrink .data section a bit
</content>
</entry>
<entry>
<title>parse-options: multi-word argh should use dash to separate words</title>
<updated>2014-03-24T17:43:34Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-23T22:58:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e703d7118c68bb5b1f850dae4060609a88500b18'/>
<id>urn:sha1:e703d7118c68bb5b1f850dae4060609a88500b18</id>
<content type='text'>
"When you need to use space, use dash" is a strange way to say that
you must not use a space.  Because it is more common for the command
line descriptions to use dashed-multi-words, you do not even want to
use spaces in these places.  Rephrase the documentation to avoid
this strangeness.

Fix a few existing multi-word argument help strings, i.e.

 - GPG key-ids given to -S/--gpg-sign are "key-id";
 - Refs used for storing notes are "notes-ref"; and
 - Expiry timestamps given to --expire are "expiry-date".

and update the corresponding documentation pages.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>commit: add --cleanup=scissors</title>
<updated>2014-02-25T17:35:20Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2014-02-17T12:15:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=75df1f434f8cfdac1c8eeacae259ab375c01385b'/>
<id>urn:sha1:75df1f434f8cfdac1c8eeacae259ab375c01385b</id>
<content type='text'>
Since 1a72cfd (commit -v: strip diffs and submodule shortlogs from the
commit message - 2013-12-05) we have a less fragile way to cut out
"git status" at the end of a commit message but it's only enabled for
stripping submodule shortlogs.

Add new cleanup option that reuses the same mechanism for the entire
"git status" without accidentally removing lines starting with '#'.

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>commit-tree: add and document --no-gpg-sign</title>
<updated>2014-02-24T22:51:35Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-12-13T23:40:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=55ca3f99ae4895605a348322dd2fc50f2065f508'/>
<id>urn:sha1:55ca3f99ae4895605a348322dd2fc50f2065f508</id>
<content type='text'>
Document how to override commit.gpgsign configuration that is set to
true per "git commit" invocation (parse-options machinery lets us
say "--no-gpg-sign" to do so).

"git commit-tree" does not use parse-options, so manually add the
corresponding option for now.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>documentation: trivial style cleanups</title>
<updated>2013-05-17T19:09:21Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2013-05-09T01:16:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0460ed2c93d78c753242f835c441f320f792ac54'/>
<id>urn:sha1:0460ed2c93d78c753242f835c441f320f792ac54</id>
<content type='text'>
White-spaces, missing braces, standardize --[no-]foo.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation/git-commit: Typo under --edit</title>
<updated>2013-05-02T19:03:40Z</updated>
<author>
<name>Anders Granskogen Bjørnstad</name>
<email>andersgb@gmail.com</email>
</author>
<published>2013-05-02T18:24:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9a3e36cd67fce2bfcc0726193feee493ccdbf0f6'/>
<id>urn:sha1:9a3e36cd67fce2bfcc0726193feee493ccdbf0f6</id>
<content type='text'>
-C takes a commit object, not a file.

Signed-off-by: Anders Granskogen Bjørnstad &lt;andersgb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'cn/commit-amend-doc' into maint</title>
<updated>2013-04-12T20:41:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-04-12T20:41:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=788e98f8c0a09d71bd1ed64a71c941a8d10d91c4'/>
<id>urn:sha1:788e98f8c0a09d71bd1ed64a71c941a8d10d91c4</id>
<content type='text'>
* cn/commit-amend-doc:
  Documentation/git-commit: reword the --amend explanation
</content>
</entry>
<entry>
<title>Documentation/git-commit: reword the --amend explanation</title>
<updated>2013-04-05T14:40:39Z</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@elego.de</email>
</author>
<published>2013-04-03T13:07:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=aa7b8c657e407a10cbee728264ec48be16ea4e3d'/>
<id>urn:sha1:aa7b8c657e407a10cbee728264ec48be16ea4e3d</id>
<content type='text'>
The explanation for 'git commit --amend' talks about preparing a tree
object, which shouldn't be how user-facing documentation talks about
commit.

Reword it to say it works as usual, but replaces the current commit.

Signed-off-by: Carlos Martín Nieto &lt;cmn@elego.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'bc/commit-complete-lines-given-via-m-option' into maint</title>
<updated>2013-04-03T16:26:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-04-03T16:26:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=14c79b1faa113707d8955912af6064d9844f71eb'/>
<id>urn:sha1:14c79b1faa113707d8955912af6064d9844f71eb</id>
<content type='text'>
'git commit -m "$msg"' used to add an extra newline even when
$msg already ended with one.

* bc/commit-complete-lines-given-via-m-option:
  Documentation/git-commit.txt: rework the --cleanup section
  git-commit: only append a newline to -m mesg if necessary
  t7502: demonstrate breakage with a commit message with trailing newlines
  t/t7502: compare entire commit message with what was expected
</content>
</entry>
</feed>
