Re: [PATCH 5/6] t/diff-lib: check exact object names in compare_diff_raw

2015-02-23 Thread Johannes Sixt
Am 16.02.2015 um 00:43 schrieb Junio C Hamano: The sanitize helper wanted to strip the similarity and dissimilarity scores when making comparison, but it was stripping away the object names as well. While we do not want to require the exact object names the tests expect to be maintained, as

Re: [PATCH 5/6] t/diff-lib: check exact object names in compare_diff_raw

2015-02-23 Thread Junio C Hamano
Johannes Sixt j...@kdbg.org writes: diff --git a/t/diff-lib.sh b/t/diff-lib.sh index 75a35fc..c211dc4 100644 --- a/t/diff-lib.sh +++ b/t/diff-lib.sh @@ -1,6 +1,6 @@ : -sanitize_diff_raw='/^:/s/ '$_x40' '$_x40' \([A-Z]\)[0-9]* / X X \1# /' +sanitize_diff_raw='/^:/s/

[PATCH 5/6] t/diff-lib: check exact object names in compare_diff_raw

2015-02-15 Thread Junio C Hamano
The sanitize helper wanted to strip the similarity and dissimilarity scores when making comparison, but it was stripping away the object names as well. While we do not want to require the exact object names the tests expect to be maintained, as it would be seen as an extra burden, this would have