From: Junio C Hamano Date: Mon, 23 Feb 2015 19:45:30 GMT Subject: Re: [PATCH 5/6] t/diff-lib: check exact object names in compare_diff_raw Message-ID: In-Reply-To: <54EB6E17.5040102@kdbg.org> Johannes Sixt 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/ '"\($_x40\)"' '"\($_x40\)"' \([A-Z]\)[0-9]* / \1 \2 \3# /' >> compare_diff_raw () { >> # When heuristics are improved, the score numbers would change. >> # Ignore them while comparing. >> > > This reveals a minor bug in test_ln_s_add: Thanks for catching it before it hits 'master'.