提交 5610c6e3 编写于 作者: J Junio C Hamano

Merge branch 'jb/statcolor'

* jb/statcolor:
  Add colour support in rebase and merge tree diff stats output.
......@@ -90,7 +90,8 @@ finish () {
?*)
case "$no_summary" in
'')
git-diff-tree --stat --summary -M "$head" "$1"
# We want color (if set), but no pager
GIT_PAGER='' git-diff --stat --summary -M "$head" "$1"
;;
esac
;;
......
......@@ -307,7 +307,8 @@ fi
if test -n "$verbose"
then
echo "Changes from $mb to $onto:"
git-diff-tree --stat --summary "$mb" "$onto"
# We want color (if set), but no pager
GIT_PAGER='' git-diff --stat --summary "$mb" "$onto"
fi
# Rewind the head to "$onto"; this saves our current head in ORIG_HEAD.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册