diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-03-28 13:52:24 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-28 13:52:24 -0700 |
commit | 57009b1dd9ac63b0cb0d9f5a78f69ce4e5837768 (patch) | |
tree | 4250a0ca6b08555cac3977f9e34297d5a62d0c00 /t/t4062-diff-pickaxe.sh | |
parent | fd3ab91ce651d4d0a4ecc21fb7d2246a4da056d5 (diff) | |
parent | f53c5de29cec68e3294a008052251631eaffcf07 (diff) | |
download | git-57009b1dd9ac63b0cb0d9f5a78f69ce4e5837768.tar.gz |
Merge branch 'js/regexec-buf' into maint
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/t4062-diff-pickaxe.sh')
-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 |