]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/rebase.c
builtin rebase: support the `verbose` and `diffstat` options
authorPratik Karki <predatoramigo@gmail.com>
Tue, 4 Sep 2018 21:27:13 +0000 (14:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Sep 2018 18:55:43 +0000 (11:55 -0700)
commitbff014dac7d949f9a0b42ab256e04ecf1b4b9bb6
treebcf849197f8d15397ac95c55ad375e249fcf9d46
parentb4c8eb024af59b6429ae98927501f9c07fc7903b
builtin rebase: support the `verbose` and `diffstat` options

This commit introduces support for the `-v` and `--stat` options of
rebase.

The --stat option can also be configured via the Git config setting
rebase.stat. To support this, we also add a custom rebase_config()
function in this commit that will be used instead of (and falls back to
calling) git_default_config().

Signed-off-by: Pratik Karki <predatoramigo@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c