]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/commit.c
parse-options.h: extract common --cleanup option
authorDenton Liu <liu.denton@gmail.com>
Wed, 17 Apr 2019 10:23:26 +0000 (11:23 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Apr 2019 04:49:28 +0000 (13:49 +0900)
commitca04dc96d13cbe5aead17a936e3b8695b20abb55
tree9de34ca9a25415d0ee4c073fae938144f93bcf0e
parentf29cd8620d85543dbef572f522c71991b3736387
parse-options.h: extract common --cleanup option

The --cleanup option is commonly used. Extract it so that its definition
is not repeated.

Helped-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c
builtin/tag.c
parse-options.h