<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-notes.txt, branch v2.40.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.40.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.40.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2022-09-07T16:46:06Z</updated>
<entry>
<title>notes docs: de-duplicate and combine configuration sections</title>
<updated>2022-09-07T16:46:06Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2022-09-07T08:27:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5bd277e2e2059840cda807de511f02c291e039c9'/>
<id>urn:sha1:5bd277e2e2059840cda807de511f02c291e039c9</id>
<content type='text'>
Combine the various "notes" configuration sections spread across
Documentation/config/notes.txt and Documentation/git-notes.txt to live
in the former, and to be included in the latter.

We'll now forward link from "git notes" to the "CONFIGURATION" section
below, rather than to "git-config(1)" when discussing configuration
variables that are (also) discussed in that section.

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Reviewed-by: Matheus Tavares &lt;matheus.bernardino@usp.br&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>docs: improve the example that illustrates git-notes path names</title>
<updated>2020-08-03T19:40:09Z</updated>
<author>
<name>Noam Yorav-Raphael</name>
<email>noamraph@gmail.com</email>
</author>
<published>2020-08-03T19:10:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=de20baf2c95f4a92dfcf94e01f37d93e7868397c'/>
<id>urn:sha1:de20baf2c95f4a92dfcf94e01f37d93e7868397c</id>
<content type='text'>
Make it clear that the filename has only the rest of the object ID,
not the entirety of it.

Signed-off-by: Noam Yorav-Raphael &lt;noamraph@gmail.com&gt;
Acked-by: Taylor Blau &lt;me@ttaylorr.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>notes: fix minimum number of parameters to "copy" subcommand</title>
<updated>2019-10-18T00:43:10Z</updated>
<author>
<name>Doan Tran Cong Danh</name>
<email>congdanhqx@gmail.com</email>
</author>
<published>2019-10-16T05:18:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d58deb9c4e151d4d8380cd14223391ce0d58f588'/>
<id>urn:sha1:d58deb9c4e151d4d8380cd14223391ce0d58f588</id>
<content type='text'>
The builtin/notes.c::copy() function is prepared to handle either
one or two arguments given from the command line; when one argument
is given, to-obj defaults to HEAD.

bbb1b8a3 ("notes: check number of parameters to "git notes copy"",
2010-06-28) tried to make sure "git notes copy" (with *no* other
argument) does not dereference NULL by checking the number of
parameters, but it incorrectly insisted that we need two arguments,
instead of either one or two.  This disabled the defaulting to-obj
to HEAD.

Correct it.

Signed-off-by: Doan Tran Cong Danh &lt;congdanhqx@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: turn middle-of-line tabs into spaces</title>
<updated>2019-03-07T00:25:32Z</updated>
<author>
<name>Martin Ågren</name>
<email>martin.agren@gmail.com</email>
</author>
<published>2019-03-06T06:30:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8d75a1d183e2cbb4c56c14e59aeda64a87d86a34'/>
<id>urn:sha1:8d75a1d183e2cbb4c56c14e59aeda64a87d86a34</id>
<content type='text'>
These tabs happen to appear in columns where they don't stand out too
much, so the diff here is non-obvious. Some of these are rendered
differently by AsciiDoc and Asciidoctor (although the difference might
be invisible!), which is how I found a few of them. The remainder were
found using `git grep "[a-zA-Z.,)]$TAB[a-zA-Z]"`.

Signed-off-by: Martin Ågren &lt;martin.agren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: spelling and grammar fixes</title>
<updated>2018-06-22T21:26:23Z</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2018-06-22T06:50:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=928f0ab4bae61954c27a77794d80c2332c8e816c'/>
<id>urn:sha1:928f0ab4bae61954c27a77794d80c2332c8e816c</id>
<content type='text'>
Signed-off-by: Ville Skyttä &lt;ville.skytta@iki.fi&gt;
Reviewed-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'rd/doc-notes-prune-fix'</title>
<updated>2017-12-06T17:23:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-06T17:23:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5b5710effa68e3901a44bb2e55485a4d8a89308f'/>
<id>urn:sha1:5b5710effa68e3901a44bb2e55485a4d8a89308f</id>
<content type='text'>
Doc update.

* rd/doc-notes-prune-fix:
  notes: correct 'git notes prune' options to '[-n] [-v]'
</content>
</entry>
<entry>
<title>notes: correct 'git notes prune' options to '[-n] [-v]'</title>
<updated>2017-11-22T03:59:02Z</updated>
<author>
<name>Robert P. J. Day</name>
<email>rpjday@crashcourse.ca</email>
</author>
<published>2017-11-21T19:17:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e54b63359f9df44850bd50010e097f40e8cf3952'/>
<id>urn:sha1:e54b63359f9df44850bd50010e097f40e8cf3952</id>
<content type='text'>
Currently, 'git notes prune' in man page and usage message
incorrectly lists options as '[-n | -v]', rather than '[-n] [-v]'.

Signed-off-by: Robert P. J. Day &lt;rpjday@crashcourse.ca&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: fix minor typos (extra/duplicated words)</title>
<updated>2017-09-14T06:09:02Z</updated>
<author>
<name>Evan Zacks</name>
<email>zackse@gmail.com</email>
</author>
<published>2017-09-12T22:58:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=be94568bc7edf3ae4baf7542c216df3d6996373c'/>
<id>urn:sha1:be94568bc7edf3ae4baf7542c216df3d6996373c</id>
<content type='text'>
Following are several fixes for duplicated words ("of of") and one
case where an extra article ("a") slipped in.

Signed-off-by: Evan Zacks &lt;zackse@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: typeset short command-line options as literal</title>
<updated>2016-06-28T15:20:52Z</updated>
<author>
<name>Matthieu Moy</name>
<email>Matthieu.Moy@imag.fr</email>
</author>
<published>2016-06-28T11:40:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=23f8239bbe0a893bd8754a03e9d4fda62804ac14'/>
<id>urn:sha1:23f8239bbe0a893bd8754a03e9d4fda62804ac14</id>
<content type='text'>
It was common in our documentation to surround short option names with
forward quotes, which renders as italic in HTML. Instead, use backquotes
which renders as monospace. This is one more step toward conformance to
Documentation/CodingGuidelines.

This was obtained with:

  perl -pi -e "s/'(-[a-z])'/\`\$1\`/g" *.txt

Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: change environment variables format</title>
<updated>2016-06-08T19:04:37Z</updated>
<author>
<name>Tom Russello</name>
<email>tom.russello@grenoble-inp.org</email>
</author>
<published>2016-06-07T22:35:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=eee7f4a233733b661e2e75e75a3b52312619112c'/>
<id>urn:sha1:eee7f4a233733b661e2e75e75a3b52312619112c</id>
<content type='text'>
This change GIT_* variables that where in italic style to monospaced font
according to the guideline. It was obtained with

	perl -pi -e "s/\'(GIT_.*?)\'/\`\1\`/g" *.txt

One of the main purposes is to stick to the CodingGuidelines as possible so
that people writting new documentation by mimicking the existing are more likely
to have it right (even if they didn't read the CodingGuidelines).

Signed-off-by: Tom Russello &lt;tom.russello@grenoble-inp.org&gt;
Signed-off-by: Erwan Mathoniere &lt;erwan.mathoniere@grenoble-inp.org&gt;
Signed-off-by: Samuel Groot &lt;samuel.groot@grenoble-inp.org&gt;
Signed-off-by: Matthieu Moy &lt;matthieu.moy@grenoble-inp.fr&gt;
Reviewed-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
