diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-04-28 00:46:25 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-28 00:46:25 -0700 |
commit | 2254da06a5473ffde973337bad2c6a96eea61e20 (patch) | |
tree | c7b1bf0ba4094dbc3e6f209e379a15b66d6864aa /t | |
parent | f06b9f1dffa67c1d28793bdaf7b2165d3d392d35 (diff) | |
parent | 3e73cb2f48cc4044905455a9936692f967a0f9b3 (diff) | |
download | git-2254da06a5473ffde973337bad2c6a96eea61e20.tar.gz |
Merge branch 'maint-1.6.1' into maint
* maint-1.6.1:
grep: fix segfault when "git grep '('" is given
Documentation: fix a grammatical error in api-builtin.txt
builtin-merge: fix a typo in an error message
Diffstat (limited to 't')
-rwxr-xr-x | t/t7002-grep.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t7002-grep.sh b/t/t7002-grep.sh index c4938544d4..b81593780a 100755 --- a/t/t7002-grep.sh +++ b/t/t7002-grep.sh @@ -26,6 +26,10 @@ test_expect_success setup ' git commit -m initial ' +test_expect_success 'grep should not segfault with a bad input' ' + test_must_fail git grep "(" +' + for H in HEAD '' do case "$H" in |