Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
run-command: mark run_hook_with_custom_index as deprecated
author
Benoit Pierre
<benoit.pierre@gmail.com>
Tue, 18 Mar 2014 10:00:56 +0000
(11:00 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 18 Mar 2014 18:26:12 +0000
(11:26 -0700)
Signed-off-by: Benoit Pierre <benoit.pierre@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
run-command.h
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
1fc4f97
)
diff --git
a/run-command.h
b/run-command.h
index 88460f9bfeeb5c0aa08cff9994ab2b0bfa2ad933..3653bfa6e123ca8497571a2ca1c47200c1b544a2 100644
(file)
--- 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