From: "Rubén Justo" <rjusto@gmail•com>
To: Git List <git@vger•kernel.org>, Junio C Hamano <gitster@pobox•com>
Cc: Patrick Steinhardt <ps@pks•im>
Subject: [PATCH v5 0/2] format-patch: assume --cover-letter for diff in multi-patch series
Date: Fri, 7 Jun 2024 22:52:53 +0200 [thread overview]
Message-ID: <91014071-13f2-46d3-aae7-75c8ea036786@gmail.com> (raw)
In-Reply-To: <9f520828-f87e-49b1-aa4b-c00ec6bb0133@gmail.com>
This iteration fixes some tests introduced in the previous iteration.
Rubén Justo (2):
t4014: cleanups in a few tests
format-patch: assume --cover-letter for diff in multi-patch series
builtin/log.c | 2 ++
t/t3206-range-diff.sh | 14 ++++++++++++++
t/t4014-format-patch.sh | 25 ++++++++++++++++++++-----
3 files changed, 36 insertions(+), 5 deletions(-)
And here is the result of a `--range-diff` from the previous iteration,
that implicitly produced the current cover-letter :-)
Range-diff against v4:
1: 678bae2e42 ! 1: 1dbfce39d9 t4014: cleanups in a few tests
@@ t/t4014-format-patch.sh: test_expect_success 'format-patch --notes --signoff' '
'
test_expect_success 'format-patch notes output control' '
-+ test_when_finished "git notes remove HEAD" &&
++ test_when_finished "git notes remove HEAD || :" &&
git notes add -m "notes config message" HEAD &&
- test_when_finished git notes remove HEAD &&
@@ t/t4014-format-patch.sh: test_expect_success 'format-patch notes output control'
test_expect_success 'format-patch with multiple notes refs' '
+ test_when_finished "git notes --ref note1 remove HEAD;
-+ git notes --ref note2 remove HEAD" &&
++ git notes --ref note2 remove HEAD || :" &&
git notes --ref note1 add -m "this is note 1" HEAD &&
- test_when_finished git notes --ref note1 remove HEAD &&
git notes --ref note2 add -m "this is note 2" HEAD &&
@@ t/t4014-format-patch.sh: test_expect_success 'format-patch with multiple notes r
test_when_finished "test_unconfig format.notes" &&
+ test_when_finished "git notes --ref note1 remove HEAD;
-+ git notes --ref note2 remove HEAD" &&
++ git notes --ref note2 remove HEAD || :" &&
git notes --ref note1 add -m "this is note 1" HEAD &&
- test_when_finished git notes --ref note1 remove HEAD &&
git notes --ref note2 add -m "this is note 2" HEAD &&
2: 7d3afe14a7 = 2: fa22af3ed5 format-patch: assume --cover-letter for diff in multi-patch series
--
2.45.2.23.gd1e9f8561b
next prev parent reply other threads:[~2024-06-07 20:52 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-03 22:49 [PATCH] format-patch: assume --cover-letter for diff in multi-patch series Rubén Justo
2024-06-04 8:02 ` Patrick Steinhardt
2024-06-04 17:32 ` Junio C Hamano
2024-06-05 18:01 ` Rubén Justo
2024-06-05 18:17 ` Junio C Hamano
2024-06-05 18:58 ` Junio C Hamano
2024-06-05 20:27 ` [PATCH v3] " Rubén Justo
2024-06-05 20:44 ` Junio C Hamano
2024-06-05 21:24 ` Rubén Justo
2024-06-05 21:52 ` Junio C Hamano
2024-06-05 21:39 ` Rubén Justo
2024-06-07 16:29 ` [PATCH v4 0/2] " Rubén Justo
2024-06-07 16:30 ` [PATCH v4 1/2] t4014: cleanups in a few tests Rubén Justo
2024-06-07 17:14 ` Junio C Hamano
2024-06-07 17:38 ` Rubén Justo
2024-06-07 18:57 ` Junio C Hamano
2024-06-07 16:30 ` [PATCH v4 2/2] format-patch: assume --cover-letter for diff in multi-patch series Rubén Justo
2024-06-07 20:52 ` Rubén Justo [this message]
2024-06-07 20:55 ` [PATCH v5 1/2] t4014: cleanups in a few tests Rubén Justo
2024-06-07 20:55 ` [PATCH v5 2/2] format-patch: assume --cover-letter for diff in multi-patch series Rubén Justo
2024-06-07 21:10 ` [PATCH v5 0/2] " Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=91014071-13f2-46d3-aae7-75c8ea036786@gmail.com \
--to=rjusto@gmail$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
--cc=gitster@pobox$(echo .)com \
--cc=ps@pks$(echo .)im \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox