Code

grep: Extract compile_regexp_failed() from compile_regexp()
authorMichał Kiedrowicz <michal.kiedrowicz@gmail.com>
Mon, 9 May 2011 21:52:04 +0000 (23:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 May 2011 23:28:53 +0000 (16:28 -0700)
commita30c148aa7ec6583dbdb38fa6601df3cf4f5a660
treebf6742c9ce65a2240649013a351e3b1ca486ff23
parent8997da3820a0f55d156f43f3bb71856580df160d
grep: Extract compile_regexp_failed() from compile_regexp()

This simplifies compile_regexp() a little and allows re-using error
handling code.

Signed-off-by: Michał Kiedrowicz <michal.kiedrowicz@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
grep.c