]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/pull.c
pull: pass verbosity, --progress flags to fetch and merge
authorPaul Tan <pyokagan@gmail.com>
Sun, 14 Jun 2015 08:41:53 +0000 (16:41 +0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Jun 2015 19:40:50 +0000 (12:40 -0700)
commit2a747902c3290efba0ba44c77cf2e5692d998af2
treee655b0d9ad4dbb1b550064e8c5daeda21ed9a36d
parentf2c5baa14e01e74527cc5807e5d47fdf67a05dd3
pull: pass verbosity, --progress flags to fetch and merge

7f87aff (Teach/Fix pull/fetch -q/-v options, 2008-11-15) taught git-pull
to accept the verbosity -v and -q options and pass them to git-fetch and
git-merge.

Re-implement support for the verbosity flags by adding it to the options
list and introducing argv_push_verbosity() to push the flags into the
argv array used to execute git-fetch and git-merge.

9839018 (fetch and pull: learn --progress, 2010-02-24) and bebd2fd
(pull: propagate --progress to merge, 2011-02-20) taught git-pull to
accept the --progress option and pass it to git-fetch and git-merge.

Use OPT_PASSTHRU() implemented earlier to pass the "--[no-]progress"
command line options to git-fetch and git-merge.

Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Paul Tan <pyokagan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pull.c