From b549be0da7ff9075c0b3de14c1d5d03583ca8d2d Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Tue, 18 Mar 2014 11:00:56 +0100 Subject: [PATCH] run-command: mark run_hook_with_custom_index as deprecated Signed-off-by: Benoit Pierre Signed-off-by: Junio C Hamano --- run-command.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.11.4.GIT