On 06/09/2015 01:02 AM, Junio C Hamano wrote:
Karthik Nayak karthik@gmail.com writes:
+#define OPT_CONTAINS(filter, h) \
+ { OPTION_CALLBACK, 0, contains, (filter), N_(commit), (h), \
+ PARSE_OPT_LASTARG_DEFAULT, \
+ parse_opt_with_commit, (intptr_t) HEAD \
+ }
Karthik Nayak karthik@gmail.com writes:
+#define OPT_CONTAINS(filter, h) \
+ { OPTION_CALLBACK, 0, contains, (filter), N_(commit), (h), \
+ PARSE_OPT_LASTARG_DEFAULT, \
+ parse_opt_with_commit, (intptr_t) HEAD \
+ }
+#define OPT_WITH(filter, h) \
+ {
Add a macro for using the '--contains' option in parse-options.h
also include an optional '--with' option macro which performs the
same action as '--contains'.
Make tag.c use this new macro
Mentored-by: Christian Couder christian.cou...@gmail.com
Mentored-by: Matthieu Moy
3 matches
Mail list logo