summaryrefslogtreecommitdiff
path: root/usage.c
Commit message (Expand)AuthorAgeFilesLines
* treewide: remove unnecessary includes of cache.hElijah Newren2023-03-211-1/+2
* wrapper.h: move declarations for wrapper.c functions from cache.hElijah Newren2023-03-211-0/+1
* treewide: be explicit about dependence on gettext.hElijah Newren2023-03-211-1/+1
* i18n: mark message helpers prefix for translationDimitriy Ryazantcev2022-06-211-4/+4
* bug_fl(): correctly initialize trace2 va_listJeff King2022-06-161-3/+5
* usage.c: add a non-fatal bug() function to go with BUG()Ævar Arnfjörð Bjarmason2022-06-021-5/+28
* C99: remove hardcoded-out !HAVE_VARIADIC_MACROS codeÆvar Arnfjörð Bjarmason2022-02-211-14/+1
* config API: use get_error_routine(), not vreportf()Ævar Arnfjörð Bjarmason2021-12-071-1/+1
* usage.c + gc: add and use a die_message_errno()Ævar Arnfjörð Bjarmason2021-12-071-0/+12
* usage.c: add a die_message() routineÆvar Arnfjörð Bjarmason2021-12-071-3/+25
* usage.c: don't copy/paste the same comment three timesÆvar Arnfjörð Bjarmason2021-04-131-12/+5
* usage: trace2 BUG() invocationsJonathan Tan2021-02-091-0/+11
* Merge branch 'jt/trace-error-on-warning'Junio C Hamano2020-12-081-0/+6
|\
| * usage: add trace2 entry upon warning()Jonathan Tan2020-11-241-0/+6
* | usage: define a type for a reporting functionJeff King2020-10-161-9/+9
|/
* vreportf(): avoid relying on stdio bufferingJohannes Schindelin2019-11-021-4/+16
* trace2: create new combined trace facilityJeff Hostetler2019-02-221-0/+31
* Merge branch 'jk/snprintf-truncation'Junio C Hamano2018-05-301-0/+1
|\
| * fmt_with_err: add a comment that truncation is OKJeff King2018-05-211-0/+1
* | test-tool: help verifying BUG() code pathsJohannes Schindelin2018-05-061-0/+5
|/
* add UNLEAK annotation for reducing leak false positivesJeff King2017-09-081-0/+15
* die(): stop hiding errors due to overzealous recursion guardab/hide-die-errors-in-threadedab/die-errors-in-threadedÆvar Arnfjörð Bjarmason2017-06-211-1/+17
* Merge branch 'bw/forking-and-threading' into maintJunio C Hamano2017-06-131-9/+1
|\
| * usage.c: drop set_error_handle()bw/forking-and-threadingJeff King2017-05-151-9/+1
* | usage: add NORETURN to BUG() function definitionsjk/bug-to-abortRamsay Jones2017-05-221-2/+2
* | usage.c: add BUG() functionJeff King2017-05-151-0/+32
|/
* Merge branch 'jk/vreport-sanitize'Junio C Hamano2017-01-311-10/+7
|\
| * vreport: sanitize ASCII control charsjk/vreport-sanitizeJeff King2017-01-111-0/+6
| * Revert "vreportf: avoid intermediate buffer"Jeff King2017-01-111-12/+3
* | Merge branch 'cc/apply-am'Junio C Hamano2016-09-191-0/+15
|\ \
| * | usage: add get_error_routine() and get_warn_routine()Christian Couder2016-09-071-0/+10
| * | usage: add set_warn_routine()Christian Couder2016-09-071-0/+5
* | | error_errno: use constant return similar to error()Jeff King2016-08-311-0/+1
|/ /
* | usage.c: add warning_errno() and error_errno()Nguyễn Thái Ngọc Duy2016-05-091-0/+21
* | usage.c: move format processing out of die_errno()Nguyễn Thái Ngọc Duy2016-05-091-11/+16
|/
* vreportf: avoid intermediate bufferjk/long-error-messagesJeff King2015-08-111-3/+12
* vreportf: report to arbitrary filehandlesJeff King2015-08-111-13/+9
* Merge branch 'jk/a-thread-only-dies-once'Junio C Hamano2013-04-191-6/+14
|\
| * usage: allow pluggable die-recursion checksJeff King2013-04-161-6/+14
* | make error()'s constant return value more visibleJeff King2012-12-151-0/+1
|/
* usage.c: detect recursion in die routines and bail out immediatelyBrandon Casey2012-11-151-0/+15
* error_routine: use parent's stderr if exec failsClemens Buchacher2011-07-311-0/+18
* Fix sparse warningsStephen Boyd2011-03-221-4/+4
* Make report() from usage.c public as vreportf() and use it.Johannes Sixt2010-03-071-5/+5
* Fix truncated usage messagesBjörn Gustavsson2009-11-221-1/+1
* Introduce usagef() that takes a printf-style formatJonathan Nieder2009-11-101-4/+13
* add NORETURN_PTR for function pointersErik Faye-Lund2009-10-011-3/+3
* increase portability of NORETURN declarationsErik Faye-Lund2009-10-011-3/+3
* die_errno(): double % in strerror() output just in caseJunio C Hamano2009-06-271-2/+18
* Introduce die_errno() that appends strerror(errno) to die()Thomas Rast2009-06-271-0/+12