Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-11-21 16:57:46 +0300
committerJunio C Hamano <gitster@pobox.com>2018-11-21 16:57:46 +0300
commita357daeac6b95fa50b80404859d916c71320b79c (patch)
tree1cdc984ed2f5f22ad0d8a98095c258afa4d68d01 /t
parent50e6df214d7f75559e4ad90c2fd1d8fc36938c8c (diff)
parente467a90c7a82a047629aafa4e97daefa3872ec35 (diff)
Merge branch 'tg/range-diff-corner-case-fix' into maint
Recently added "range-diff" had a corner-case bug to cause it segfault, which has been corrected. * tg/range-diff-corner-case-fix: linear-assignment: fix potential out of bounds memory access
Diffstat (limited to 't')
-rwxr-xr-xt/t3206-range-diff.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t3206-range-diff.sh b/t/t3206-range-diff.sh
index 2237c7f4af..fb4c13a84a 100755
--- a/t/t3206-range-diff.sh
+++ b/t/t3206-range-diff.sh
@@ -142,4 +142,9 @@ test_expect_success 'changed message' '
test_cmp expected actual
'
+test_expect_success 'no commits on one side' '
+ git commit --amend -m "new message" &&
+ git range-diff master HEAD@{1} HEAD
+'
+
test_done