Thread (232 messages) flat view 232 messages, 10 authors, 2021-11-11

Re: [PATCH 2/4] api docs: document BUG() in api-error-handling.txt

From: Bagas Sanjaya <hidden>
Date: 2021-03-29 05:46:24

On 28/03/21 09.26, Ævar Arnfjörð Bjarmason wrote:
-`die`, `usage`, `error`, and `warning` report errors of various
-kinds.
+`BUG`, `die`, `usage`, `error`, and `warning` report errors of
+various kinds.
+
+- `BUG` is for failed internal assertions that should never happen,
+  i.e. a bug in git itself.
  
  - `die` is for fatal application errors.  It prints a message to
    the user and exits with status 128.
Documentation looks OK.

-- 
An old man doll... just what I always wanted! - Clara
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help