]> granicus.if.org Git - cgit/commit
Extract filepair_cb from ui-patch.c
authorLukas Fleischer <cgit@cryptocrack.de>
Wed, 14 Aug 2013 08:50:31 +0000 (10:50 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 16 Aug 2013 19:15:37 +0000 (13:15 -0600)
commit747b035dda97ae359ed00d84744acfa8cc009fb2
tree145fa574deaaca9c5a3dc04855c582a3f89001c2
parentcf152604c3e28810d7e4c4a67b9814ab3e401cb0
Extract filepair_cb from ui-patch.c

Move filepair_cb() from ui-patch.c to ui-shared.c and rename it to
filepair_cb_raw(). This callback will be used in ui-diff.c in a
follow-up patch.

Note that it is not straightforward to extract filepair_cb() from
ui-diff.c which is why it is not done here as well.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
ui-patch.c
ui-shared.c
ui-shared.h