Add paragraph about sending patch series,
what is the preferred format and sample git config.
Signed-off-by: Jan Stancek <[email protected]>
---
doc/style-guide.txt | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/doc/style-guide.txt b/doc/style-guide.txt
index 414e70e..b3bfd8c 100644
--- a/doc/style-guide.txt
+++ b/doc/style-guide.txt
@@ -440,3 +440,28 @@ blah blah blah blah blah.
Signed-off-by: John Smith <dev@null>
-------------------------------------------------------------------
+
+Sending patch series
+
+Preferred format is shallow thread:
+[PATCH 0/X] XXXXXX
+ |_ [PATCH 1/X] YYYYYYYY
+ |_ [PATCH 2/X] ZZZZZZZZ
+
+Configure your git:
+cd <local copy of ltp repo>
+git config sendemail.thread false
+git config format.thread shallow
+git config format.numbered auto
+git config sendemail.signoffbycc false
+git config sendemail.suppresscc all
+git config sendemail.suppressfrom true
+git config sendemail.smtpserver "your.smtp.server"
+git config sendemail.confirm always
+
+Example, sending series consisting of 2 patches with git send-email:
+1. git format-patch --attach -2 --cover-letter
+2. edit subject and body of cover letter: 0000-cover-letter.patch
+3. git send-email --to [email protected] \
+ 0000-cover-letter.patch 0001-part1.patch 0002-part2.patch
+
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list