Simon Ruderich <si...@ruderich.org> writes:

> --- a/t/t4209-log-pickaxe.sh
> +++ b/t/t4209-log-pickaxe.sh
> @@ -116,4 +116,18 @@ test_expect_success 'log -S -i (nomatch)' '
>       test_cmp expect actual
>  '
>  
> +test_expect_success 'log -S --textconv (missing textconv tool)' '
> +     echo "* diff=test" >.gitattributes &&
> +     test_must_fail git -c diff.test.textconv=missing log -Sfoo &&
> +     rm .gitattributes
> +'
> +
> +test_expect_success 'log -S --no-textconv (missing textconv tool)' '
> +     echo "* diff=test" >.gitattributes &&
> +     git -c diff.test.textconv=missing log -Sfoo --no-textconv >actual &&
> +     >expect &&
> +     test_cmp expect actual &&
> +     rm .gitattributes
> +'

While we're there, we could test -G --no-textconv too.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to