summaryrefslogtreecommitdiff
path: root/usage.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Increase the size of the die/warning buffer to avoid truncationShawn O. Pearce2009-03-241-1/+1
* usage.c: remove unused functionsNanako Shiraishi2008-09-291-16/+0
* print warning/error/fatal messages in one shotNicolas Pitre2007-11-091-3/+3
* Rename warn() to warning() to fix symbol conflicts on BSD and Mac OSTheodore Ts'o2007-03-311-1/+1
* Introduce a global level warn() function.Shawn O. Pearce2006-12-211-0/+19
* usage: minimum type fix.Junio C Hamano2006-06-241-3/+3
* Customizable error handlersPetr Baudis2006-06-241-4/+42
* Clean up compatibility definitions.Junio C Hamano2005-12-051-1/+1
* [PATCH] Better error reporting for "git status"Linus Torvalds2005-10-011-2/+2
* Include file cleanups..Linus Torvalds2005-05-221-1/+0
* Split up read-cache.c into more logical clumps.Linus Torvalds2005-04-181-0/+40