summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-04-19 13:45:04 -0700
committerJunio C Hamano <gitster@pobox.com>2013-04-19 13:45:05 -0700
commit9526aa461f6c6900cb892a6fe248150ad436c0d5 (patch)
tree1c190fc47d136a5d32f8bf3362a2224f9b2bc81b /git-compat-util.h
parent6ae5d9863ba13b5d138851d8e622c9ed05313966 (diff)
parent1ece66bc9e5433dff008786daba9918f3e2a6525 (diff)
downloadgit-9526aa461f6c6900cb892a6fe248150ad436c0d5.tar.gz
Merge branch 'jk/a-thread-only-dies-once'
A regression fix for the logic to detect die() handler triggering itself recursively. * jk/a-thread-only-dies-once: run-command: use thread-aware die_is_recursing routine usage: allow pluggable die-recursion checks
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index cde442fb5f..e955bb5e8b 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -331,6 +331,7 @@ extern void warning(const char *err, ...) __attribute__((format (printf, 1, 2)))
extern void set_die_routine(NORETURN_PTR void (*routine)(const char *err, va_list params));
extern void set_error_routine(void (*routine)(const char *err, va_list params));
+extern void set_die_is_recursing_routine(int (*routine)(void));
extern int prefixcmp(const char *str, const char *prefix);
extern int suffixcmp(const char *str, const char *suffix);