author | Junio C Hamano <gitster@pobox.com> | |
Mon, 13 Sep 2010 02:30:48 +0000 (19:30 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 13 Sep 2010 02:56:21 +0000 (19:56 -0700) | ||
commit | 95ce9ce296e1636a2b78e73b96905d781ef2ddc7 | |
tree | 77731dd1329f145cc005ed02250936068b487b02 | tree | snapshot |
parent | e22148f406a7a31a25ebda01d21d9a4646ce82ea | commit | diff |
grep: move logic to compile header pattern into a separate helper
The callers should be queuing only GREP_PATTERN_HEAD elements to the
header_list queue; simplify the switch and guard it with an assert.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The callers should be queuing only GREP_PATTERN_HEAD elements to the
header_list queue; simplify the switch and guard it with an assert.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
grep.c | diff | blob | history |