path: root/usage.c
AgeCommit message (Expand)Author
2021-12-07config API: use get_error_routine(), not vreportf()Ævar Arnfjörð Bjarmason
2021-12-07usage.c + gc: add and use a die_message_errno()Ævar Arnfjörð Bjarmason
2021-12-07usage.c: add a die_message() routineÆvar Arnfjörð Bjarmason
2021-04-13usage.c: don't copy/paste the same comment three timesÆvar Arnfjörð Bjarmason
2021-02-09usage: trace2 BUG() invocationsJonathan Tan
2020-12-08Merge branch 'jt/trace-error-on-warning'Junio C Hamano
2020-11-25usage: add trace2 entry upon warning()Jonathan Tan
2020-10-16usage: define a type for a reporting functionJeff King
2019-11-02vreportf(): avoid relying on stdio bufferingJohannes Schindelin
2019-02-22trace2: create new combined trace facilityJeff Hostetler
2018-05-30Merge branch 'jk/snprintf-truncation'Junio C Hamano
2018-05-21fmt_with_err: add a comment that truncation is OKJeff King
2018-05-06test-tool: help verifying BUG() code pathsJohannes Schindelin
2017-09-08add UNLEAK annotation for reducing leak false positivesJeff King
2017-06-21die(): stop hiding errors due to overzealous recursion guardÆvar Arnfjörð Bjarmason
2017-06-13Merge branch 'bw/forking-and-threading' into maintJunio C Hamano
2017-05-22usage: add NORETURN to BUG() function definitionsRamsay Jones
2017-05-15usage.c: drop set_error_handle()Jeff King
2017-05-15usage.c: add BUG() functionJeff King
2017-01-31Merge branch 'jk/vreport-sanitize'Junio C Hamano
2017-01-11vreport: sanitize ASCII control charsJeff King
2017-01-11Revert "vreportf: avoid intermediate buffer"Jeff King
2016-09-19Merge branch 'cc/apply-am'Junio C Hamano
2016-09-07usage: add get_error_routine() and get_warn_routine()Christian Couder
2016-09-07usage: add set_warn_routine()Christian Couder
2016-08-31error_errno: use constant return similar to error()Jeff King
2016-05-09usage.c: add warning_errno() and error_errno()Nguyễn Thái Ngọc Duy
2016-05-09usage.c: move format processing out of die_errno()Nguyễn Thái Ngọc Duy
2015-08-11vreportf: avoid intermediate bufferJeff King
2015-08-11vreportf: report to arbitrary filehandlesJeff King
2013-04-19Merge branch 'jk/a-thread-only-dies-once'Junio C Hamano
2013-04-16usage: allow pluggable die-recursion checksJeff King
2012-12-15make error()'s constant return value more visibleJeff King
2012-11-16usage.c: detect recursion in die routines and bail out immediatelyBrandon Casey
2011-08-01error_routine: use parent's stderr if exec failsClemens Buchacher
2011-03-22Fix sparse warningsStephen Boyd
2010-03-07Make report() from usage.c public as vreportf() and use it.Johannes Sixt
2009-11-23Fix truncated usage messagesBjörn Gustavsson
2009-11-10Introduce usagef() that takes a printf-style formatJonathan Nieder
2009-10-01add NORETURN_PTR for function pointersErik Faye-Lund
2009-10-01increase portability of NORETURN declarationsErik Faye-Lund
2009-06-27die_errno(): double % in strerror() output just in caseJunio C Hamano
2009-06-27Introduce die_errno() that appends strerror(errno) to die()Thomas Rast
2009-03-24Increase the size of the die/warning buffer to avoid truncationShawn O. Pearce
2008-09-29usage.c: remove unused functionsNanako Shiraishi
2007-11-10print warning/error/fatal messages in one shotNicolas Pitre
2007-03-31Rename warn() to warning() to fix symbol conflicts on BSD and Mac OSTheodore Ts'o
2006-12-22Introduce a global level warn() function.Shawn O. Pearce
2006-06-24usage: minimum type fix.Junio C Hamano
2006-06-24Customizable error handlersPetr Baudis