summaryrefslogtreecommitdiffstats
path: root/git-rebase.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-12-13 06:49:50 +0100
committerJunio C Hamano <gitster@pobox.com>2010-12-13 06:49:50 +0100
commit25756cff935b9ef11f429bd5d05aa27045679d52 (patch)
treeb08560307f3a398c1d7e86cc61d7c8f58a849331 /git-rebase.sh
parentMerge branch 'jn/git-cmd-h-bypass-setup' (diff)
parentrebase: only show stat if configured to true (diff)
downloadgit-25756cff935b9ef11f429bd5d05aa27045679d52.tar.xz
git-25756cff935b9ef11f429bd5d05aa27045679d52.zip
Merge branch 'mz/maint-rebase-stat-config'
* mz/maint-rebase-stat-config: rebase: only show stat if configured to true
Diffstat (limited to 'git-rebase.sh')
-rwxr-xr-xgit-rebase.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-rebase.sh b/git-rebase.sh
index 0e9d52a500..9a6d7a4730 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -49,7 +49,8 @@ do_merge=
dotest="$GIT_DIR"/rebase-merge
prec=4
verbose=
-diffstat=$(git config --bool rebase.stat)
+diffstat=
+test "$(git config --bool rebase.stat)" = true && diffstat=t
git_am_opt=
rebase_root=
force_rebase=