Skip to content

Commit

Permalink
run-command: mark run_hook_with_custom_index as deprecated
Browse files Browse the repository at this point in the history
Signed-off-by: Benoit Pierre <benoit.pierre@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
benoit-pierre authored and gitster committed Mar 18, 2014
1 parent 1fc4f97 commit b549be0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions run-command.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b549be0

Please sign in to comment.