Skip to contentSkip to conversation

add sob line for patch series

PATCH New Waldemar Brodkorb 2 participants 4 messages Jul 29, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add sob line for patch series

I think -s is missing here to automatically add
the sob line, when using this example.

---
 docs/manual/contribute.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/manual/contribute.txt +1 -1
index 12e7f98..b7e8944 100644
@@ -272,7 +272,7 @@ This can be easily handled with +git format-patch+ by using the option
 
 ---------------------
 $ git format-patch --subject-prefix "PATCH v4" \
-    -M -o outgoing origin/master
+    -M -s -o outgoing origin/master
 ---------------------
 
 [[reporting-bugs]]
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 add sob line for patch series

Dear Waldemar Brodkorb,

Quoted 13 lines · Waldemar Brodkorb

I think -s is missing here to automatically add
the sob line, when using this example.

---
 docs/manual/contribute.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/manual/contribute.txt +0 -0
index 12e7f98..b7e8944 100644

docs/manual/contribute.txt This can be easily handled with +git format-patch+ by using the option · line 276

Quoted 6 lines
docs/manual/contribute.txt +1 -1
@@ -272,7 +272,7 @@ This can be easily handled with +git format-patch+ by using the option
 
 ---------------------
 $ git format-patch --subject-prefix "PATCH v4" \
-    -M -o outgoing origin/master
+    -M -s -o outgoing origin/master
 ---------------------

I think the best practice should rather be to SoB when committing (i.e 'git commit -s') rather than when formatting patches, no?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 add sob line for patch series

Hi Thomas,
Thomas Petazzoni wrote,

Quoted 17 lines

Dear Waldemar Brodkorb,

Quoted 14 lines · Waldemar Brodkorb

I think -s is missing here to automatically add
the sob line, when using this example.

---
 docs/manual/contribute.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/manual/contribute.txt +0 -0
index 12e7f98..b7e8944 100644
@@ -272,7 +272,7 @@ This can be easily handled with +git format-patch+ by using the option
 
Quoted 8 lines

docs/manual/contribute.txt This can be easily handled with +git format-patch+ by using the option · line 276

Quoted 5 lines
docs/manual/contribute.txt +1 -1
 ---------------------
 $ git format-patch --subject-prefix "PATCH v4" \
-    -M -o outgoing origin/master
+    -M -s -o outgoing origin/master
 ---------------------

I think the best practice should rather be to SoB when committing (i.e 'git commit -s') rather than when formatting patches, no?

The example above in the manual is using -s for format-patch. I didn't even know that I can use -s while doing commit ;)

best regards
Waldemar

#3 lore raw

PATCH 1/1 add sob line for patch series

Dear Waldemar Brodkorb,

Quoted 4 lines · Waldemar Brodkorb
Quoted 2 lines

I think the best practice should rather be to SoB when committing (i.e 'git commit -s') rather than when formatting patches, no?

The example above in the manual is using -s for format-patch.

Ok, so I've applied your patch, but I had once again to fixup the commit log. There was no prefix, and the commit log was a bit too terse. If you could try to do slightly better commit logs, it'd be nice.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com