commit | 95ce9ce296e1636a2b78e73b96905d781ef2ddc7 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Sun Sep 12 19:30:48 2010 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Sun Sep 12 19:56:21 2010 -0700 |
tree | 77731dd1329f145cc005ed02250936068b487b02 | |
parent | e22148f406a7a31a25ebda01d21d9a4646ce82ea [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>