Make default pre-commit hook less noisy
authorJean-Luc Herren <jlh@gmx.ch>
Mon, 14 Jan 2008 21:47:42 +0000 (22:47 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 Jan 2008 21:52:27 +0000 (13:52 -0800)
This hook thought to have found a conflict marker any time it saw
a 7-character combination of any of the characters '<>=' at the
beginning of a line, whereas it should only look for the *same*
character to appear repeatedly.

Also, restrict it to match exactly 7 times, to avoid matching the
underlining with '='-characters often used in documentation.

Signed-off-by: Jean-Luc Herren <jlh@gmx.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found