aboutsummaryrefslogtreecommitdiffstats
path: root/run-command.h
diff options
context:
space:
mode:
authorBenoit Pierre <benoit.pierre@gmail.com>2014-03-18 11:00:56 +0100
committerJunio C Hamano <gitster@pobox.com>2014-03-18 11:26:12 -0700
commitb549be0da7ff9075c0b3de14c1d5d03583ca8d2d (patch)
tree4105ad5d5b55b9c5292fbc011db3f1b8ddffce88 /run-command.h
parent1fc4f97d570c97471202ff561c7e3697e2faee6a (diff)
downloadgit-b549be0da7ff9075c0b3de14c1d5d03583ca8d2d.tar.gz
run-command: mark run_hook_with_custom_index as deprecated
Signed-off-by: Benoit Pierre <benoit.pierre@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'run-command.h')
-rw-r--r--run-command.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/run-command.h b/run-command.h
index 88460f9bfe..3653bfa6e1 100644
--- a/run-command.h
+++ b/run-command.h
@@ -51,6 +51,7 @@ extern int run_hook_le(const char *const *env, const char *name, ...);
extern int run_hook_ve(const char *const *env, const char *name, va_list args);
LAST_ARG_MUST_BE_NULL
+__attribute__((deprecated))
extern int run_hook_with_custom_index(const char *index_file, const char *name, ...);
#define RUN_COMMAND_NO_STDIN 1