This is a patch series to implement textconv support for git blame. As textconv support has already been added to git diff, so we use textconv methods of diff.
Here are the different changes:
- make the diff textconv API public
- add diff_options to blame (--textconv and --no-textconv)
- perform textconv when we meet an object with textconv driver
- t8006-blame-textconv.sh tests conversion works
Signed-off-by: Diane Gasselin <diane.gasselin@ensimag.imag.fr>
Signed-off-by: Clément Poulain <clement.poulain@ensimag.imag.fr>
Signed-off-by: Axel Bonnet <axel.bonnet@ensimag.imag.fr>
Axel Bonnet (4):
textconv: make the API public
textconv: make diff_options accessible from blame
textconv: support for blame
t/t8006: test textconv support for blame
builtin/blame.c | 92 ++++++++++++++++++++++++++++++++++--------
diff.c | 12 ++----
diff.h | 8 ++++
t/t8006-blame-textconv.sh | 98 +++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 184 insertions(+), 26 deletions(-)
create mode 100755 t/t8006-blame-textconv.sh