diff options
author | Karthik Nayak <karthik.188@gmail.com> | 2015-07-07 21:36:15 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-03 10:25:28 -0700 |
commit | f266c9163b34ec55e453d27e1ed246d67ee3ced0 (patch) | |
tree | 5f6e5b518280198ee1077d5aac0ca7892e82b89e /reflog-walk.c | |
parent | parse-option: rename parse_opt_with_commit() (diff) | |
download | tgif-f266c9163b34ec55e453d27e1ed246d67ee3ced0.tar.xz |
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>
Diffstat (limited to 'reflog-walk.c')
0 files changed, 0 insertions, 0 deletions