t3206-range-diff.sh: cover single-patch case
commitcdc067c3197f659470591c1d5614cf9221a43c98
authorDerrick Stolee <dstolee@microsoft.com>
Wed, 12 Sep 2018 14:31:03 +0000 (12 07:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Sep 2018 17:17:42 +0000 (12 10:17 -0700)
treeb71d1137a61a17cc997779e0cf110cf7b7f974e1
parent40ce41604daf200cdc85abded0133d40faafc2f8
t3206-range-diff.sh: cover single-patch case

The commit 40ce4160 "format-patch: allow --range-diff to apply to
a lone-patch" added the ability to see a range-diff as commentary
after the commit message of a single patch series (i.e. [PATCH]
instead of [PATCH X/N]). However, this functionality was not
covered by a test case.

Add a simple test case that checks that a range-diff is written as
commentary to the patch.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3206-range-diff.sh