]> git.ipfire.org Git - thirdparty/git.git/commit - combine-diff.c
xdiff-interface: prepare for allowing early return
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 12 Apr 2021 17:15:24 +0000 (19:15 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 May 2021 03:47:31 +0000 (12:47 +0900)
commita8d5eb6dc0d61625667b0d8155c425d3629baa12
treecc6c90e47a90860c813c289b1bdba90826f80dd9
parent5b0672a26e51387bc18adad89eaa3ebb131b2e33
xdiff-interface: prepare for allowing early return

Change the function prototype of xdiff_emit_line_fn to return an "int"
instead of "void". Change all of those functions to "return 0",
nothing checks those return values yet, and no behavior is being
changed.

In subsequent commits the interface will be changed to allow early
return via this new return value.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
combine-diff.c
diff.c
diffcore-pickaxe.c
range-diff.c
xdiff-interface.c
xdiff-interface.h