Skip to content

Commit e0cbf12

Browse files
committed
Merge branch 'mz/maint-rebase-stat-config' into maint
* mz/maint-rebase-stat-config: rebase: only show stat if configured to true
2 parents 187b259 + 9474a02 commit e0cbf12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

git-rebase.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ do_merge=
4949
dotest="$GIT_DIR"/rebase-merge
5050
prec=4
5151
verbose=
52-
diffstat=$(git config --bool rebase.stat)
52+
diffstat=
53+
test "$(git config --bool rebase.stat)" = true && diffstat=t
5354
git_am_opt=
5455
rebase_root=
5556
force_rebase=

0 commit comments

Comments
 (0)