Eric Sunshine writes:
> @@ -21,4 +22,18 @@ test_expect_success 'ls-tree fails with non-zero exit code
> on broken tree' '
> test_must_fail git ls-tree -r HEAD
> '
>
> +test_expect_failure 'ls-tree directory core.ignorecase' '
> + cat >expect <<-\EOF &&
> + d/e/f
> + EOF
> +
2eac2a4cc4bdc8d7 (ls-files -k: a directory only can be killed if the
index has a non-directory; 2013-08-15) adds a caller of
directory_exists_in_index(dirname,len) which forgets to satisfy the
undocumented requirement that a '/' must be present at dirname[len]
(despite being past the end-of-string)
2 matches
Mail list logo