diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-01-29 00:17:55 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-05 00:38:41 -0800 |
commit | c330fdd42dc57127272534cd2a8dd9569334b219 (patch) | |
tree | 0077523338ba174c44548a20cf07d04b7c4836f6 /hash.c | |
parent | builtin-apply.c: optimize match_beginning/end processing a bit. (diff) | |
download | tgif-c330fdd42dc57127272534cd2a8dd9569334b219.tar.xz |
builtin-apply.c: mark common context lines in lineinfo structure.
This updates the way preimage and postimage in a patch hunk is
parsed and prepared for applying. By looking at image->line[n].flag,
the code can tell if it is a common context line that is the
same between the preimage and the postimage.
This matters when we actually start applying a patch with
contexts that have whitespace breakages that have already been
fixed in the target file.
Diffstat (limited to 'hash.c')
0 files changed, 0 insertions, 0 deletions