Merge branch 'rs/xdiff-lose-emit-func'
commit2e464dd5b220d4d2d8a16d5c43efe7af3c9adda9
authorJunio C Hamano <gitster@pobox.com>
Thu, 17 May 2012 22:22:13 +0000 (17 15:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 May 2012 22:22:13 +0000 (17 15:22 -0700)
treee36a8a20733792bdcad789363fb0f50985123d11
parent8be441ea1fbd6e39952c5c314014162900c2c148
parent85c20c304f991b33b59fbf00182a66f5cf6d2960
Merge branch 'rs/xdiff-lose-emit-func'

Simplifies the interface between the implementation of "blame" and
underlying xdiff engine, and removes a lot of unused or unnecessary code
from the latter.

By RenĂ© Scharfe (6) and Ramsay Jones (1)
* rs/xdiff-lose-emit-func:
  builtin/blame.c: Fix a "Using plain integer as NULL pointer" warning
  xdiff: remove unused functions
  xdiff: remove emit_func() and xdi_diff_hunks()
  blame: factor out helper for calling xdi_diff()
  blame: use hunk_func(), part 2
  blame: use hunk_func(), part 1
  xdiff: add hunk_func()