diff tests/test-debugcommands.t @ 23551:7651621507cf

tests: avoid git diffstat singular/plural output difference 'git diff --stat' output changed with regard to the amount of changes/insertions/deletions shown. In older git versions (1.7.7.6), output was shown as: 2 files changed, 2 insertions(+), 1 deletions(-) In newer versions, output is shown as: 2 files changed, 2 insertions(+), 1 deletion(-) This patch uses a regex to handle both cases.
author Mathias De Maré <mathias.demare@gmail.com>
date Sun, 14 Dec 2014 21:00:58 +0100
parents 21446f4d5c62
children 944749de6f3a
line wrap: on
line diff