<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-notes.sh, branch v1.7.0.5</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.7.0.5</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.7.0.5'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2009-10-20T01:59:43Z</updated>
<entry>
<title>Teach "-m &lt;msg&gt;" and "-F &lt;file&gt;" to "git notes edit"</title>
<updated>2009-10-20T01:59:43Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2009-10-09T10:22:01Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=d9246d4303f441c0e30614cd3a97a80fbe9354b6'/>
<id>urn:sha1:d9246d4303f441c0e30614cd3a97a80fbe9354b6</id>
<content type='text'>
The "-m" and "-F" options are already the established method
(in both git-commit and git-tag) to specify a commit/tag message
without invoking the editor. This patch teaches "git notes edit"
to respect the same options for specifying a notes message without
invoking the editor.

Multiple "-m" and/or "-F" options are concatenated as separate
paragraphs.

The patch also updates the "git notes" documentation and adds
selftests for the new functionality. Unfortunately, the added
selftests include a couple of lines with trailing whitespace
(without these the test will fail). This may cause git to warn
about "whitespace errors".

This patch has been improved by the following contributions:
- Thomas Rast: fix trailing whitespace in t3301

Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Add a script to edit/inspect notes</title>
<updated>2009-10-20T01:59:42Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2009-10-09T10:21:58Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=65d9fb487f36d4a12a169dc18cbbb5225337c085'/>
<id>urn:sha1:65d9fb487f36d4a12a169dc18cbbb5225337c085</id>
<content type='text'>
The script 'git notes' allows you to edit and show commit notes, by
calling either

	git notes show &lt;commit&gt;

or

	git notes edit &lt;commit&gt;

This patch has been improved by the following contributions:
- Tor Arne Vestbø: fix printing of multi-line notes
- Michael J Gruber: test and handle empty notes gracefully
- Thomas Rast:
  - only clean up message file when editing
  - use GIT_EDITOR and core.editor over VISUAL/EDITOR
  - t3301: fix confusing quoting in test for valid notes ref
  - t3301: use test_must_fail instead of !
  - refuse to edit notes outside refs/notes/
- Junio C Hamano: tests: fix "export var=val"
- Christian Couder: documentation: fix 'linkgit' macro in "git-notes.txt"
- Johan Herland: minor cleanup and bugfixing in git-notes.sh (v2)

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Tor Arne Vestbø &lt;tavestbo@trolltech.com&gt;
Signed-off-by: Michael J Gruber &lt;git@drmicha.warpmail.net&gt;
Signed-off-by: Thomas Rast &lt;trast@student.ethz.ch&gt;
Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Revert "Merge branch 'js/notes'"</title>
<updated>2009-02-11T05:32:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-02-11T05:31:33Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=954cfb5cfd17d57b9b31b19b73efe73199407e07'/>
<id>urn:sha1:954cfb5cfd17d57b9b31b19b73efe73199407e07</id>
<content type='text'>
This reverts commit 7b75b331f6744fbf953fe8913703378ef86a2189, reversing
changes made to 5d680a67d7909c89af96eba4a2d77abed606292b.
</content>
</entry>
<entry>
<title>Add a script to edit/inspect notes</title>
<updated>2008-12-21T10:47:22Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2008-12-20T12:05:33Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=055a5975258f37eecdfcf609a472ab4957a59263'/>
<id>urn:sha1:055a5975258f37eecdfcf609a472ab4957a59263</id>
<content type='text'>
The script 'git notes' allows you to edit and show commit notes, by
calling either

	git notes show &lt;commit&gt;

or

	git notes edit &lt;commit&gt;

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
