diff options
author | Kirill Smelkov <kirr@landau.phys.spbu.ru> | 2010-09-29 15:35:22 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-09-29 16:53:25 -0700 |
commit | 6517cf7de8fe7a2b2c90655a79d11cba586a36e6 (patch) | |
tree | 25e8b1cb6ca46bddb6676a964e7cd90d0e0a1064 /t/t5407-post-rewrite-hook.sh | |
parent | d391c0ff94e1b314b0664db0e8eb5bd92934f9cb (diff) | |
download | git-6517cf7de8fe7a2b2c90655a79d11cba586a36e6.tar.gz |
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 't/t5407-post-rewrite-hook.sh')
0 files changed, 0 insertions, 0 deletions