summaryrefslogtreecommitdiff
path: root/usage.c
AgeCommit message (Expand)Author
2025-06-25Merge branch 'ps/maintenance-ref-lock'Junio C Hamano
2025-06-03usage: allow dying without writing an error messagePatrick Steinhardt
2025-05-12you-still-use-that??: help deprecating commands for removalJunio C Hamano
2025-01-17usage: add show_usage_if_asked()Junio C Hamano
2024-12-06global: trivial conversions to fix `-Wsign-compare` warningsPatrick Steinhardt
2024-12-06global: mark code units that generate warnings with `-Wsign-compare`Patrick Steinhardt
2024-11-21git-compat-util: drop now-unused `UNLEAK()` macroPatrick Steinhardt
2024-04-05usage: report vsnprintf(3) failureRené Scharfe
2023-07-05treewide: remove unnecessary includes for wrapper.hCalvin Wan
2023-03-21treewide: remove unnecessary includes of cache.hElijah Newren
2023-03-21wrapper.h: move declarations for wrapper.c functions from cache.hElijah Newren
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren
2022-06-21i18n: mark message helpers prefix for translationDimitriy Ryazantcev
2022-06-16bug_fl(): correctly initialize trace2 va_listJeff King
2022-06-02usage.c: add a non-fatal bug() function to go with BUG()Ævar Arnfjörð Bjarmason
2022-02-21C99: remove hardcoded-out !HAVE_VARIADIC_MACROS codeÆvar Arnfjörð Bjarmason
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-24usage: 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-15usage.c: detect recursion in die routines and bail out immediatelyBrandon Casey