<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/notes.h, branch v2.23.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.23.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.23.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2019-05-07T10:08:10Z</updated>
<entry>
<title>notes: correct documentation of format_display_notes()</title>
<updated>2019-05-07T10:08:10Z</updated>
<author>
<name>Chris Mayo</name>
<email>aklhfex@gmail.com</email>
</author>
<published>2019-05-04T18:45:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d4907720a2fc2d096fa0d904f7ee92b0fbc302bf'/>
<id>urn:sha1:d4907720a2fc2d096fa0d904f7ee92b0fbc302bf</id>
<content type='text'>
'flags' parameter was replaced by 'raw' in commit:
76141e2e62 ("format_note(): simplify API", 2012-10-17)

Signed-off-by: Chris Mayo &lt;aklhfex@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Add missing includes and forward declarations</title>
<updated>2018-08-15T18:52:09Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2018-08-15T17:54:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ef3ca95475ce467ae883cc8175ed40e6f7d27800'/>
<id>urn:sha1:ef3ca95475ce467ae883cc8175ed40e6f7d27800</id>
<content type='text'>
I looped over the toplevel header files, creating a temporary two-line C
program for each consisting of
  #include "git-compat-util.h"
  #include $HEADER
This patch is the result of manually fixing errors in compiling those
tiny programs.

Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>notes: convert write_notes_tree to object_id</title>
<updated>2018-01-30T18:42:36Z</updated>
<author>
<name>Patryk Obara</name>
<email>patryk.obara@gmail.com</email>
</author>
<published>2018-01-28T00:13:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bbca96d579b31900c9c0ad39299a3c9a3bd276f9'/>
<id>urn:sha1:bbca96d579b31900c9c0ad39299a3c9a3bd276f9</id>
<content type='text'>
Convert the definition and declaration of write_notes_tree to
struct object_id and adjust usage of this function.

Additionally, improve style of small part of this function, as old
formatting made it hard to understand at glance what this part of
code is doing.

Signed-off-by: Patryk Obara &lt;patryk.obara@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>notes: convert combine_notes_* to object_id</title>
<updated>2018-01-30T18:42:36Z</updated>
<author>
<name>Patryk Obara</name>
<email>patryk.obara@gmail.com</email>
</author>
<published>2018-01-28T00:13:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b7d591d17b0497597c2152ae86bd8aa4220d6961'/>
<id>urn:sha1:b7d591d17b0497597c2152ae86bd8aa4220d6961</id>
<content type='text'>
Convert the definition and declarations of combine_notes_* functions
to struct object_id and adjust usage of these functions.

Signed-off-by: Patryk Obara &lt;patryk.obara@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>notes: convert some accessor functions to struct object_id</title>
<updated>2017-06-02T00:36:06Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2017-05-30T17:30:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5ee8a954e0191be2a144afdda6e37ef776730246'/>
<id>urn:sha1:5ee8a954e0191be2a144afdda6e37ef776730246</id>
<content type='text'>
Convert add_note, get_note, and copy_note to take struct object_id.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Brandon Williams &lt;bmwill@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>notes: convert format_display_notes to struct object_id</title>
<updated>2017-06-02T00:36:06Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2017-05-30T17:30:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fb61e4d3abe2349eb0fabe0be8981626b4074fa7'/>
<id>urn:sha1:fb61e4d3abe2349eb0fabe0be8981626b4074fa7</id>
<content type='text'>
Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Brandon Williams &lt;bmwill@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>notes: make get_note return pointer to struct object_id</title>
<updated>2017-06-02T00:36:06Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2017-05-30T17:30:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9ef7223058a44990dc4650ecb1209c97ceb636b3'/>
<id>urn:sha1:9ef7223058a44990dc4650ecb1209c97ceb636b3</id>
<content type='text'>
Make get_note return a pointer to a const struct object_id.  Add a
defensive check to ensure we don't accidentally dereference a NULL
pointer.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Brandon Williams &lt;bmwill@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>notes: convert for_each_note to struct object_id</title>
<updated>2017-06-02T00:36:06Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2017-05-30T17:30:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=490bc83a01acfefa11e98f8852b1f4a9dd962331'/>
<id>urn:sha1:490bc83a01acfefa11e98f8852b1f4a9dd962331</id>
<content type='text'>
Convert for_each_note and each of the callbacks to use struct object_id.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Brandon Williams &lt;bmwill@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/notes-merge-from-anywhere'</title>
<updated>2016-02-03T22:15:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-02-03T22:15:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1cb3ed308dcfaa6084b8aed075c772aeb9e57243'/>
<id>urn:sha1:1cb3ed308dcfaa6084b8aed075c772aeb9e57243</id>
<content type='text'>
"git notes merge" used to limit the source of the merged notes tree
to somewhere under refs/notes/ hierarchy, which was too limiting
when inventing a workflow to exchange notes with remote
repositories using remote-tracking notes trees (located in e.g.
refs/remote-notes/ or somesuch).

* jk/notes-merge-from-anywhere:
  notes: allow merging from arbitrary references
</content>
</entry>
<entry>
<title>notes: allow merging from arbitrary references</title>
<updated>2016-01-17T21:59:01Z</updated>
<author>
<name>Jacob Keller</name>
<email>jacob.keller@gmail.com</email>
</author>
<published>2015-12-29T22:40:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b3715b75226668e26f1f2abe7e2f93cdbbf6e2f5'/>
<id>urn:sha1:b3715b75226668e26f1f2abe7e2f93cdbbf6e2f5</id>
<content type='text'>
Create a new expansion function, expand_loose_notes_ref which will first
check whether the ref can be found using get_sha1. If it can't be found
then it will fallback to using expand_notes_ref. The content of the
strbuf will not be changed if the notes ref can be located using
get_sha1. Otherwise, it may be updated as done by expand_notes_ref.

Since we now support merging from non-notes refs, remove the test case
associated with that behavior. Add a test case for merging from a
non-notes ref.

Signed-off-by: Jacob Keller &lt;jacob.keller@gmail.com&gt;
Reviewed-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
