commit | f266c9163b34ec55e453d27e1ed246d67ee3ced0 | [log] [tgz] |
---|---|---|
author | Karthik Nayak <karthik.188@gmail.com> | Tue Jul 07 21:36:15 2015 +0530 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Aug 03 10:25:28 2015 -0700 |
tree | 5f6e5b518280198ee1077d5aac0ca7892e82b89e | |
parent | 9d306b5a6077f026291df3c4a5968eaf95a92417 [diff] |
parse-options.h: add macros for '--contains' option 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 and branch.c use this new macro. Mentored-by: Christian Couder <christian.couder@gmail.com> Mentored-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr> Signed-off-by: Karthik Nayak <karthik.188@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>