aboutsummaryrefslogtreecommitdiff
path: root/symlinks.c
diff options
context:
space:
mode:
authorAxel Bonnet <axel.bonnet@ensimag.imag.fr>2010-06-15 15:58:48 +0200
committerJunio C Hamano <gitster@pobox.com>2010-06-18 09:41:01 -0700
commit3b8a12e8f8c2f4b200e228bc2aa71741c529553c (patch)
treeeb918666884d16ee2a0dbb136146425e79f1581a /symlinks.c
parenta788d7d58bfbd2772b7ad5d788d8f7f885a651e1 (diff)
downloadgit-3b8a12e8f8c2f4b200e228bc2aa71741c529553c.tar.gz
git-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 'symlinks.c')
0 files changed, 0 insertions, 0 deletions