Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit b549be0

Browse files
benoit-pierregitster
authored andcommitted
run-command: mark run_hook_with_custom_index as deprecated
Signed-off-by: Benoit Pierre <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1fc4f97 commit b549be0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

run-command.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ extern int run_hook_le(const char *const *env, const char *name, ...);
5151
extern int run_hook_ve(const char *const *env, const char *name, va_list args);
5252

5353
LAST_ARG_MUST_BE_NULL
54+
__attribute__((deprecated))
5455
extern int run_hook_with_custom_index(const char *index_file, const char *name, ...);
5556

5657
#define RUN_COMMAND_NO_STDIN 1

0 commit comments

Comments
 (0)