diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-12-13 06:49:50 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-13 06:49:50 +0100 |
commit | 25756cff935b9ef11f429bd5d05aa27045679d52 (patch) | |
tree | b08560307f3a398c1d7e86cc61d7c8f58a849331 /git-rebase.sh | |
parent | Merge branch 'jn/git-cmd-h-bypass-setup' (diff) | |
parent | rebase: only show stat if configured to true (diff) | |
download | git-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-x | git-rebase.sh | 3 |
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= |