diff: use extended regexp to find hunk headers
commit6a6baf9b4e819a0bbfd70627f966cd7144dd8301
authorJunio C Hamano <gitster@pobox.com>
Sat, 20 Sep 2008 06:45:04 +0000 (19 23:45 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 20 Sep 2008 06:45:04 +0000 (19 23:45 -0700)
tree60f05910ff3b4c14a59700142e5b94a0a88c830d
parent45d9414fa5599b41578625961b53e18a9b9148c7
diff: use extended regexp to find hunk headers

Using ERE elements such as "|" (alternation) by backquoting in BRE
is a GNU extension and should not be done in portable programs.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c