author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Sat, 25 Oct 2008 13:31:15 +0000 (15:31 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 25 Oct 2008 19:09:31 +0000 (12:09 -0700) | ||
commit | 86295bb6bac1482d29650d1f77f19d8e7a7cc2fe | |
tree | 8d64f0afe14423d04da9414a1dbaa809c1f15e3b | tree | snapshot |
parent | ef2e62fe23173586f49a00c6ae953ebbdb0d13ab | commit | diff |
add xdi_diff_hunks() for callers that only need hunk lengths
Based on a patch by Brian Downing, this uses the xdiff emit_func feature
to implement xdi_diff_hunks(). It's a function that calls a callback for
each hunk of a diff, passing its lengths.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Based on a patch by Brian Downing, this uses the xdiff emit_func feature
to implement xdi_diff_hunks(). It's a function that calls a callback for
each hunk of a diff, passing its lengths.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff-interface.c | diff | blob | history | |
xdiff-interface.h | diff | blob | history |