]> git.ipfire.org Git - thirdparty/git.git/commit - parse-options-cb.c
parse-option: rename parse_opt_with_commit()
authorKarthik Nayak <karthik.188@gmail.com>
Tue, 7 Jul 2015 16:06:14 +0000 (21:36 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Aug 2015 17:25:28 +0000 (10:25 -0700)
commit9d306b5a6077f026291df3c4a5968eaf95a92417
tree189a2ced1f208b443d0264a846f5e67fdf54ef7d
parent7c32834813bd6aee5ce5b2c4131d9f34249bc9e3
parse-option: rename parse_opt_with_commit()

Rename parse_opt_with_commit() to parse_opt_commits() to show
that it can be used to obtain a list of commits and is not
constricted to usage of '--contains' option.

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>
builtin/branch.c
builtin/tag.c
parse-options-cb.c
parse-options.h