public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH/RFC] style-guide: sending patch series
@ 2012-06-29  8:44 Jan Stancek
  2012-06-29  8:53 ` Caspar Zhang
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Stancek @ 2012-06-29  8:44 UTC (permalink / raw)
  To: ltp-list

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]


Add paragraph about sending patch series,
what is the preferred format and sample git config.

Signed-off-by: Jan Stancek <jstancek@redhat.com>
---
 doc/style-guide.txt |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-style-guide-sending-patch-series.patch --]
[-- Type: text/x-patch; name="0001-style-guide-sending-patch-series.patch", Size: 1098 bytes --]

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 ltp-list@lists.sourceforge.net \
+   0000-cover-letter.patch 0001-part1.patch 0002-part2.patch
+

[-- Attachment #3: Type: text/plain, Size: 395 bytes --]

------------------------------------------------------------------------------
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/

[-- Attachment #4: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

end of thread, other threads:[~2012-07-09 10:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-29  8:44 [LTP] [PATCH/RFC] style-guide: sending patch series Jan Stancek
2012-06-29  8:53 ` Caspar Zhang
2012-06-29  9:03   ` [LTP] getrusage04 FAIL : stime increased > 2000us Nitin Yadav
2012-07-09  7:00   ` [LTP] [PATCH/RFC] style-guide: sending patch series Jan Stancek
2012-07-09 10:17     ` Caspar Zhang

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