builtin-apply.c: restructure "offset" matching
commitfcb77bc57b4d2f63bd4d0c2fd36498f308d28cbe
authorJunio C Hamano <gitster@pobox.com>
Sat, 19 Jan 2008 10:16:16 +0000 (19 02:16 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Feb 2008 08:38:41 +0000 (5 00:38 -0800)
treec6b3e66c4353dc99e40c9e01b024aa2d224b8d4f
parentc89fb6b19a91add28a111cf257e01cba2c8de69c
builtin-apply.c: restructure "offset" matching

This restructures code to find matching location with offset
in find_offset() function, so that there is need for only one
call site of match_fragment() function.  There still isn't a
change in the logic of the program.

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