summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorLibravatar Axel Bonnet <axel.bonnet@ensimag.imag.fr>2010-06-15 15:58:48 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-06-18 09:41:01 -0700
commit3b8a12e8f8c2f4b200e228bc2aa71741c529553c (patch)
treeeb918666884d16ee2a0dbb136146425e79f1581a /diff.h
parenttextconv: make the API public (diff)
downloadtgif-3b8a12e8f8c2f4b200e228bc2aa71741c529553c.tar.xz
textconv: support for blame
This patches enables to perform textconv with blame if a textconv driver is available fos the file. The main task is performed by the textconv_object function which prepares diff_filespec and if possible converts the file using diff textconv API. Only regular files are converted, so the mode of diff_filespec is faked. Textconv conversion is enabled by default (equivalent to the option --textconv), since blaming binary files is useless in most cases. The option --no-textconv is used to disable textconv conversion. The declarations of several functions are modified to give access to a diff_options, in order to know whether the textconv option is activated or not. Signed-off-by: Axel Bonnet <axel.bonnet@ensimag.imag.fr> Signed-off-by: Clément Poulain <clement.poulain@ensimag.imag.fr> Signed-off-by: Diane Gasselin <diane.gasselin@ensimag.imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.h')
0 files changed, 0 insertions, 0 deletions