public inbox for docs@lists.yoctoproject.org
 help / color / mirror / Atom feed
* [PATCH] contributor-guide: recommend format.forceInBodyFrom
@ 2024-05-02 15:27 Tim Orling
  2024-05-02 15:37 ` [docs] " Joshua Watt
  2024-05-02 19:18 ` Alexandre Belloni
  0 siblings, 2 replies; 11+ messages in thread
From: Tim Orling @ 2024-05-02 15:27 UTC (permalink / raw)
  To: docs; +Cc: Tim Orling

We are seeing a lot of patches failing when the From:
line is not contained in the message body. It is probably
better to just recommend to force the in-body From: to be
present globally.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 documentation/contributor-guide/submit-changes.rst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/documentation/contributor-guide/submit-changes.rst b/documentation/contributor-guide/submit-changes.rst
index 47a416b24..c292a143a 100644
--- a/documentation/contributor-guide/submit-changes.rst
+++ b/documentation/contributor-guide/submit-changes.rst
@@ -65,6 +65,11 @@ use to identify your commits::
    git config --global user.name "Ada Lovelace"
    git config --global user.email "ada.lovelace@gmail.com"
 
+To ensure that your patches are formatted properly, it is also
+recommended to set::
+
+   git config --global format.forceInBodyFrom true
+
 Clone the Git repository for the component to modify
 ----------------------------------------------------
 
-- 
2.43.2



^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-05-03  9:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-02 15:27 [PATCH] contributor-guide: recommend format.forceInBodyFrom Tim Orling
2024-05-02 15:37 ` [docs] " Joshua Watt
2024-05-02 16:12   ` Tim Orling
     [not found]   ` <17CBB7F2FCD711F1.29540@lists.yoctoproject.org>
2024-05-02 16:23     ` Tim Orling
2024-05-02 19:18 ` Alexandre Belloni
2024-05-02 19:25   ` [docs] " Joshua Watt
2024-05-02 19:45     ` Alexandre Belloni
2024-05-02 20:15       ` Alexander Kanavin
2024-05-02 20:22         ` Tim Orling
2024-05-02 20:53           ` Alexander Kanavin
     [not found]           ` <17CBC7546C174761.19168@lists.yoctoproject.org>
2024-05-03  9:23             ` Alexander Kanavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox