summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorKirill Smelkov <kirr@landau.phys.spbu.ru>2010-09-29 11:35:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-09-29 23:53:25 (GMT)
commit6517cf7de8fe7a2b2c90655a79d11cba586a36e6 (patch)
tree25e8b1cb6ca46bddb6676a964e7cd90d0e0a1064 /builtin.h
parentd391c0ff94e1b314b0664db0e8eb5bd92934f9cb (diff)
downloadgit-6517cf7de8fe7a2b2c90655a79d11cba586a36e6.zip
git-6517cf7de8fe7a2b2c90655a79d11cba586a36e6.tar.gz
git-6517cf7de8fe7a2b2c90655a79d11cba586a36e6.tar.bz2
blame,cat-file: Prepare --textconv tests for correctly-failing conversion program
The textconv filter is sometimes incorrectly ran on a temporary file whose content is the target of a symbolic link, instead of actual file content. Prepare to test this by marking the content of the file to convert with "bin:", and let the helper die if "bin:" is not found in the file content. NOTE: I've changed $@ to $1 in helper becase textconv program "should take a single argument" (see Documentation/gitattributes.txt), so making this more explicit makes sense and also helps to avoid problems with feeding arguments to echo. Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru> Reviewed-by: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin.h')
0 files changed, 0 insertions, 0 deletions