author | Junio C Hamano <gitster@pobox.com> | |
Thu, 19 Jun 2008 06:59:41 +0000 (23:59 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 19 Jun 2008 06:59:41 +0000 (23:59 -0700) | ||
commit | c86fbe5332abe6b951731940b9a8676ea90a434c | |
tree | 6b646608bd2dcabcb410a6b64e647de5c57f5562 | tree | snapshot |
parent | 4afbcab9898ce63ad641dd0de6e9b69deda44330 | commit | diff |
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>
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>
combine-diff.c | diff | blob | history |