aboutsummaryrefslogtreecommitdiffstats
path: root/usage.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-05usage: report vsnprintf(3) failureRené Scharfe1-1/+4
2023-07-05treewide: remove unnecessary includes for wrapper.hCalvin Wan1-1/+0
2023-03-21treewide: remove unnecessary includes of cache.hElijah Newren1-1/+2
2023-03-21wrapper.h: move declarations for wrapper.c functions from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-1/+1
2022-06-21i18n: mark message helpers prefix for translationDimitriy Ryazantcev1-4/+4
2022-06-16bug_fl(): correctly initialize trace2 va_listJeff King1-3/+5
2022-06-02usage.c: add a non-fatal bug() function to go with BUG()Ævar Arnfjörð Bjarmason1-5/+28
2022-02-21C99: remove hardcoded-out !HAVE_VARIADIC_MACROS codeÆvar Arnfjörð Bjarmason1-14/+1
2021-12-07config API: use get_error_routine(), not vreportf()Ævar Arnfjörð Bjarmason1-1/+1
2021-12-07usage.c + gc: add and use a die_message_errno()Ævar Arnfjörð Bjarmason1-0/+12
2021-12-07usage.c: add a die_message() routineÆvar Arnfjörð Bjarmason1-3/+25
2021-04-13usage.c: don't copy/paste the same comment three timesÆvar Arnfjörð Bjarmason1-12/+5
2021-02-09usage: trace2 BUG() invocationsJonathan Tan1-0/+11
2020-12-08Merge branch 'jt/trace-error-on-warning'Junio C Hamano1-0/+6
2020-11-24usage: add trace2 entry upon warning()Jonathan Tan1-0/+6
2020-10-16usage: define a type for a reporting functionJeff King1-9/+9
2019-11-02vreportf(): avoid relying on stdio bufferingJohannes Schindelin1-4/+16
2019-02-22trace2: create new combined trace facilityJeff Hostetler1-0/+31
2018-05-30Merge branch 'jk/snprintf-truncation'Junio C Hamano1-0/+1
2018-05-21fmt_with_err: add a comment that truncation is OKJeff King1-0/+1
2018-05-06test-tool: help verifying BUG() code pathsJohannes Schindelin1-0/+5
2017-09-08add UNLEAK annotation for reducing leak false positivesJeff King1-0/+15
2017-06-21die(): stop hiding errors due to overzealous recursion guardÆvar Arnfjörð Bjarmason1-1/+17
2017-06-13Merge branch 'bw/forking-and-threading' into maintJunio C Hamano1-9/+1
2017-05-22usage: add NORETURN to BUG() function definitionsRamsay Jones1-2/+2
2017-05-15usage.c: drop set_error_handle()Jeff King1-9/+1
2017-05-15usage.c: add BUG() functionJeff King1-0/+32
2017-01-31Merge branch 'jk/vreport-sanitize'Junio C Hamano1-10/+7
2017-01-11vreport: sanitize ASCII control charsJeff King1-0/+6
2017-01-11Revert "vreportf: avoid intermediate buffer"Jeff King1-12/+3
2016-09-19Merge branch 'cc/apply-am'Junio C Hamano1-0/+15
2016-09-07usage: add get_error_routine() and get_warn_routine()Christian Couder1-0/+10
2016-09-07usage: add set_warn_routine()Christian Couder1-0/+5
2016-08-31error_errno: use constant return similar to error()Jeff King1-0/+1
2016-05-09usage.c: add warning_errno() and error_errno()Nguyễn Thái Ngọc Duy1-0/+21
2016-05-09usage.c: move format processing out of die_errno()Nguyễn Thái Ngọc Duy1-11/+16
2015-08-11vreportf: avoid intermediate bufferJeff King1-3/+12
2015-08-11vreportf: report to arbitrary filehandlesJeff King1-13/+9
2013-04-19Merge branch 'jk/a-thread-only-dies-once'Junio C Hamano1-6/+14
2013-04-16usage: allow pluggable die-recursion checksJeff King1-6/+14
2012-12-15make error()'s constant return value more visibleJeff King1-0/+1
2012-11-15usage.c: detect recursion in die routines and bail out immediatelyBrandon Casey1-0/+15
2011-07-31error_routine: use parent's stderr if exec failsClemens Buchacher1-0/+18
2011-03-22Fix sparse warningsStephen Boyd1-4/+4
2010-03-07Make report() from usage.c public as vreportf() and use it.Johannes Sixt1-5/+5
2009-11-22Fix truncated usage messagesBjörn Gustavsson1-1/+1
2009-11-10Introduce usagef() that takes a printf-style formatJonathan Nieder1-4/+13
2009-10-01add NORETURN_PTR for function pointersErik Faye-Lund1-3/+3
2009-10-01increase portability of NORETURN declarationsErik Faye-Lund1-3/+3
2009-06-27die_errno(): double % in strerror() output just in caseJunio C Hamano1-2/+18
2009-06-27Introduce die_errno() that appends strerror(errno) to die()Thomas Rast1-0/+12
2009-03-24Increase the size of the die/warning buffer to avoid truncationShawn O. Pearce1-1/+1
2008-09-29usage.c: remove unused functionsNanako Shiraishi1-16/+0
2007-11-09print warning/error/fatal messages in one shotNicolas Pitre1-3/+3
2007-03-31Rename warn() to warning() to fix symbol conflicts on BSD and Mac OSTheodore Ts'o1-1/+1
2006-12-21Introduce a global level warn() function.Shawn O. Pearce1-0/+19
2006-06-24usage: minimum type fix.Junio C Hamano1-3/+3
2006-06-24Customizable error handlersPetr Baudis1-4/+42
2005-12-05Clean up compatibility definitions.Junio C Hamano1-1/+1
2005-10-01[PATCH] Better error reporting for "git status"Linus Torvalds1-2/+2
2005-05-22Include file cleanups..Linus Torvalds1-1/+0
2005-04-18Split up read-cache.c into more logical clumps.Linus Torvalds1-0/+40