diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2013-03-14 22:26:08 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-03-16 23:30:08 -0700 |
commit | ce4c4d4ec3df274349f20431c61ed85cea038026 (patch) | |
tree | 91409aeae0b128f4db7c156fde8d0ca22e2c7933 /git-pull.sh | |
parent | 03a0fb0ccf48c831060c2243f830b6a12cd8fdf3 (diff) | |
download | git-ce4c4d4ec3df274349f20431c61ed85cea038026.tar.gz |
pull: Apply -q and -v options to rebase mode as well
git pull passed -q and -v only to git merge, but they can be useful for
git rebase as well, so pass them there, too.
In particular, using -q shuts up the "Already up-to-date." message.
Especially, a new test script runs the same "pull --rebase" twice to
make sure both cases are quiet, when it has something to fetch and
when it is already up to date.
Signed-off-by: Peter Eisentraut <peter@eisentraut.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-pull.sh')
-rwxr-xr-x | git-pull.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-pull.sh b/git-pull.sh index 266e682f6c..5d97e97bd9 100755 --- a/git-pull.sh +++ b/git-pull.sh @@ -279,7 +279,7 @@ fi merge_name=$(git fmt-merge-msg $log_arg <"$GIT_DIR/FETCH_HEAD") || exit case "$rebase" in true) - eval="git-rebase $diffstat $strategy_args $merge_args" + eval="git-rebase $diffstat $strategy_args $merge_args $verbosity" eval="$eval --onto $merge_head ${oldremoteref:-$merge_head}" ;; *) |