diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-03-24 13:07:35 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-24 13:07:35 -0700 |
commit | 0efeb5ca12f070ca3a8cec48761af863e9a7f6fe (patch) | |
tree | fa2c09fec0d3ffadedf45fe037902028ee8905f9 /t | |
parent | Merge branch 'jk/execv-dashed-external' (diff) | |
parent | pickaxe: fix segfault with '-S<...> --pickaxe-regex' (diff) | |
download | tgif-0efeb5ca12f070ca3a8cec48761af863e9a7f6fe.tar.xz |
Merge branch 'js/regexec-buf'
Fix for potential segv introduced in v2.11.0 and later (also
v2.10.2).
* js/regexec-buf:
pickaxe: fix segfault with '-S<...> --pickaxe-regex'
Diffstat (limited to 't')
-rwxr-xr-x | t/t4062-diff-pickaxe.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t4062-diff-pickaxe.sh b/t/t4062-diff-pickaxe.sh index f0bf50bda7..7c4903f497 100755 --- a/t/t4062-diff-pickaxe.sh +++ b/t/t4062-diff-pickaxe.sh @@ -19,4 +19,9 @@ test_expect_success '-G matches' ' test 4096-zeroes.txt = "$(cat out)" ' +test_expect_success '-S --pickaxe-regex' ' + git diff --name-only -S0 --pickaxe-regex HEAD^ >out && + verbose test 4096-zeroes.txt = "$(cat out)" +' + test_done |