Code

builtin-apply.c: refactor small part that matches context
authorJunio C Hamano <gitster@pobox.com>
Sat, 19 Jan 2008 08:42:22 +0000 (00:42 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Feb 2008 08:38:41 +0000 (00:38 -0800)
commitc89fb6b19a91add28a111cf257e01cba2c8de69c
tree02833bff52b05d9278cbf3e6ced317d4f11c6b69
parent7a2078b4b00fb1c5d7b0bf8155778f79377b8f2f
builtin-apply.c: refactor small part that matches context

This moves three "if" conditions out of line from find_offset()
function, which is responsible for finding the matching place in
the preimage to apply the patch.  There is no change in the
logic of the program.

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