Files
git/builtin
Eric Sunshine 2e6fd71a52 format-patch: extend --range-diff to accept revision range
When submitting a revised a patch series, the --range-diff option embeds
a range-diff in the cover letter showing changes since the previous
version of the patch series. The argument to --range-diff is a simple
revision naming the tip of the previous series, which works fine if the
previous and current versions of the patch series share a common base.

However, it fails if the revision ranges of the old and new versions of
the series are disjoint. To address this shortcoming, extend
--range-diff to also accept an explicit revision range for the previous
series. For example:

    git format-patch --cover-letter --range-diff=v1~3..v1 -3 v2

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-08-14 14:27:04 -07:00
..
2018-05-30 14:04:05 +09:00
2018-08-02 15:30:45 -07:00
2017-10-06 10:07:18 +09:00
2018-08-02 15:30:41 -07:00
2018-08-02 15:30:42 -07:00
2018-08-02 15:30:42 -07:00
2018-05-13 10:45:05 +09:00
2018-07-18 12:20:28 -07:00
2018-07-24 14:50:46 -07:00
2017-10-07 16:27:55 +09:00
2018-05-08 15:59:16 +09:00
2018-08-02 15:30:43 -07:00
2018-08-02 15:30:42 -07:00
2018-08-02 15:30:44 -07:00
2018-06-01 15:06:37 +09:00
2018-06-01 15:06:40 +09:00
2018-06-01 15:06:38 +09:00
2018-05-23 14:38:15 +09:00
2018-08-02 15:30:44 -07:00
2018-05-30 14:04:05 +09:00
2018-07-18 12:20:28 -07:00
2018-07-18 12:20:28 -07:00
2018-07-18 12:20:28 -07:00
2018-07-18 12:20:28 -07:00
2018-04-16 13:52:29 +09:00
2017-12-13 11:15:14 -08:00
2018-05-30 14:04:05 +09:00
2018-03-15 12:01:08 -07:00
2018-05-29 00:28:22 +09:00
2018-07-18 12:20:28 -07:00
2018-05-08 15:59:16 +09:00