<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/technical/api-error-handling.txt, branch v2.33.6</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.33.6</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.33.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2021-04-13T21:57:13Z</updated>
<entry>
<title>api docs: document that BUG() emits a trace2 error event</title>
<updated>2021-04-13T21:57:13Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2021-04-13T09:08:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f6d25d7878901f0ec9b7a9c07c584911fc0da2ff'/>
<id>urn:sha1:f6d25d7878901f0ec9b7a9c07c584911fc0da2ff</id>
<content type='text'>
Correct documentation added in e544221d97a (trace2:
Documentation/technical/api-trace2.txt, 2019-02-22) to state that
calling BUG() also emits an "error" event. See ee4512ed481 (trace2:
create new combined trace facility, 2019-02-22) for the initial
implementation.

The BUG() function did not emit an event then however, that was only
changed later in 0a9dde4a04c (usage: trace2 BUG() invocations,
2021-02-05), that commit changed the code, but didn't update any of
the docs.

Let's also add a cross-reference from api-error-handling.txt.

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>api docs: document BUG() in api-error-handling.txt</title>
<updated>2021-04-13T21:56:58Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2021-04-13T09:08:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4bf0c6f38f8a3dda532ab7e4b9b32d6c4bb925ec'/>
<id>urn:sha1:4bf0c6f38f8a3dda532ab7e4b9b32d6c4bb925ec</id>
<content type='text'>
When the BUG() function was added in d8193743e08 (usage.c: add BUG()
function, 2017-05-12) these docs added in 1f23cfe0ef5 (doc: document
error handling functions and conventions, 2014-12-03) were not
updated. Let's do that.

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>api-error-handling doc: typofix</title>
<updated>2015-03-28T16:24:55Z</updated>
<author>
<name>Thomas Ackermann</name>
<email>th.acker@arcor.de</email>
</author>
<published>2015-03-26T20:29:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=39d5bef5c1ceb82845af50a513660f24c77e3ce0'/>
<id>urn:sha1:39d5bef5c1ceb82845af50a513660f24c77e3ce0</id>
<content type='text'>
Signed-off-by: Thomas Ackermann &lt;th.acker@arcor.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: document error handling functions and conventions</title>
<updated>2014-12-04T23:27:47Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2014-12-04T03:01:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1f23cfe0ef5b2634a7b911a8b6dc4eff7f78ba5d'/>
<id>urn:sha1:1f23cfe0ef5b2634a7b911a8b6dc4eff7f78ba5d</id>
<content type='text'>
Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
