]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/grep.c
Use OPT_SET_INT_F() for cmdline option specification
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 20 May 2018 15:42:58 +0000 (17:42 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 24 May 2018 07:12:29 +0000 (16:12 +0900)
commit3e4a67b47d020c8c61d8a762d1903f5288e94778
tree7ea0d479d94f8e8ef89b62230cd0d9606dc8a0c6
parente144d126d74f5d2702870ca9423743102eec6fcd
Use OPT_SET_INT_F() for cmdline option specification

The only thing these commands need is extra parseopt flag which can be
passed in by OPT_SET_INT_F() and it is a bit more compact than full
struct initialization.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive.c
builtin/am.c
builtin/branch.c
builtin/difftool.c
builtin/fetch.c
builtin/grep.c
builtin/log.c
builtin/ls-files.c
builtin/merge.c
builtin/notes.c
builtin/pack-objects.c