diff tests/test-identify.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 7a9cbb315d84
children 4b0fc75f9403
line wrap: on
line diff