aboutsummaryrefslogtreecommitdiff
path: root/builtin-for-each-ref.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-01-29 00:17:55 -0800
committerJunio C Hamano <gitster@pobox.com>2008-02-05 00:38:41 -0800
commitc330fdd42dc57127272534cd2a8dd9569334b219 (patch)
tree0077523338ba174c44548a20cf07d04b7c4836f6 /builtin-for-each-ref.c
parentecf4c2ec6ba6dc39e72c6b37f2a238e28fec2dc1 (diff)
downloadgit-c330fdd42dc57127272534cd2a8dd9569334b219.tar.gz
git-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 'builtin-for-each-ref.c')
0 files changed, 0 insertions, 0 deletions