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
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-09-24 20:30:45 +0300
committerJunio C Hamano <gitster@pobox.com>2018-09-24 20:30:45 +0300
commit12d03908b760b959c250defe3c2e5621a8791eb4 (patch)
treef98625532fc358135d55eeadbe70d5108ccdde83 /t/t3206-range-diff.sh
parent10de0f802db2d1ca6a157a7fe3eedb63191e4af5 (diff)
parentcdc067c3197f659470591c1d5614cf9221a43c98 (diff)
Merge branch 'ds/format-patch-range-diff-test'
* ds/format-patch-range-diff-test: t3206-range-diff.sh: cover single-patch case
Diffstat (limited to 't/t3206-range-diff.sh')
-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 88ebed1dfa..d481f29259 100755
--- a/t/t3206-range-diff.sh
+++ b/t/t3206-range-diff.sh
@@ -193,4 +193,9 @@ do
'
done
+test_expect_success 'format-patch --range-diff as commentary' '
+ git format-patch --stdout --range-diff=HEAD~1 HEAD~1 >actual &&
+ test_i18ngrep "^Range-diff:$" actual
+'
+
test_done