From: Bagas Sanjaya Date: Mon, 29 Mar 2021 05:37:12 GMT Subject: Re: [PATCH 2/4] api docs: document BUG() in api-error-handling.txt Message-ID: <7bbcebcd-002b-0c40-2415-d29cb7a6e3ec@gmail.com> In-Reply-To: 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