aboutsummaryrefslogtreecommitdiff
path: root/diffcore-break.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-06-18 23:59:41 -0700
committerJunio C Hamano <gitster@pobox.com>2008-06-18 23:59:41 -0700
commitc86fbe5332abe6b951731940b9a8676ea90a434c (patch)
tree6b646608bd2dcabcb410a6b64e647de5c57f5562 /diffcore-break.c
parent4afbcab9898ce63ad641dd0de6e9b69deda44330 (diff)
downloadgit-c86fbe5332abe6b951731940b9a8676ea90a434c.tar.gz
git-c86fbe5332abe6b951731940b9a8676ea90a434c.tar.xz
diff -c/--cc: do not include uninteresting deletion before leading context
When we include a few uninteresting lines before the interesting ones as context, we are only interested in seeing the surviving lines themselves and not the deleted lines that are before them. Mark the added leading context lines in give_context() and not show deleted lines form them. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-break.c')
0 files changed, 0 insertions, 0 deletions