Browse Source

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>
maint
Benoit Pierre 11 years ago committed by Junio C Hamano
parent
commit
b549be0da7
  1. 1
      run-command.h

1
run-command.h

@ -51,6 +51,7 @@ extern int run_hook_le(const char *const *env, const char *name, ...); @@ -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

Loading…
Cancel
Save