author | Junio C Hamano <gitster@pobox.com> | |
Sat, 19 Jan 2008 08:42:22 +0000 (00:42 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 5 Feb 2008 08:38:41 +0000 (00:38 -0800) | ||
commit | c89fb6b19a91add28a111cf257e01cba2c8de69c | |
tree | 02833bff52b05d9278cbf3e6ced317d4f11c6b69 | tree | snapshot |
parent | 7a2078b4b00fb1c5d7b0bf8155778f79377b8f2f | commit | diff |
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>
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 | diff | blob | history |