linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch v3] Documentation/email-clients.txt: add a section about git
@ 2014-05-13 13:32 Dan Carpenter
  2014-05-14 21:12 ` Randy Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Carpenter @ 2014-05-13 13:32 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-doc, linux-kernel, devel

These days most people use git to send patches so I have added a section
about that.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
---
v2: fix typo in commit message
v3: update git am and log commands.  Mention the man pages.

diff --git a/Documentation/email-clients.txt b/Documentation/email-clients.txt
index 4e30eba..9293477 100644
--- a/Documentation/email-clients.txt
+++ b/Documentation/email-clients.txt
@@ -1,6 +1,17 @@
 Email clients info for Linux
 ======================================================================
 
+Git
+----------------------------------------------------------------------
+These days most developers use `git send-email` instead of regular
+email clients.  The man page for this is quite good.  On the receiving
+end, maintainers use `git am` to apply the patches.
+
+If you are new to git then send your first patch to yourself.  Save it
+as raw text including all the headers.  Run `git am raw_email.txt` and
+then review the changelog with `git log`.  When that works then send
+the patch to list.
+
 General Preferences
 ----------------------------------------------------------------------
 Patches for the Linux kernel are submitted via email, preferably as

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

* Re: [patch v3] Documentation/email-clients.txt: add a section about git
  2014-05-13 13:32 [patch v3] Documentation/email-clients.txt: add a section about git Dan Carpenter
@ 2014-05-14 21:12 ` Randy Dunlap
  2014-05-15  9:33   ` [patch v4] " Dan Carpenter
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2014-05-14 21:12 UTC (permalink / raw)
  To: Dan Carpenter; +Cc: linux-doc, linux-kernel, devel

On 05/13/2014 06:32 AM, Dan Carpenter wrote:
> These days most people use git to send patches so I have added a section
> about that.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> ---
> v2: fix typo in commit message
> v3: update git am and log commands.  Mention the man pages.
> 
> diff --git a/Documentation/email-clients.txt b/Documentation/email-clients.txt
> index 4e30eba..9293477 100644
> --- a/Documentation/email-clients.txt
> +++ b/Documentation/email-clients.txt
> @@ -1,6 +1,17 @@
>  Email clients info for Linux
>  ======================================================================
>  
> +Git
> +----------------------------------------------------------------------
> +These days most developers use `git send-email` instead of regular
> +email clients.  The man page for this is quite good.  On the receiving
> +end, maintainers use `git am` to apply the patches.
> +
> +If you are new to git then send your first patch to yourself.  Save it
> +as raw text including all the headers.  Run `git am raw_email.txt` and
> +then review the changelog with `git log`.  When that works then send
> +the patch to list.

how about:
             to the appropriate mailing list(s).
or
             to the mailing list(s).
?


I'm not real crazy about this coming before Everything Else in this
text file, but that's what you intended, right?

> +
>  General Preferences
>  ----------------------------------------------------------------------
>  Patches for the Linux kernel are submitted via email, preferably as
> 


-- 
~Randy

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

* [patch v4] Documentation/email-clients.txt: add a section about git
  2014-05-14 21:12 ` Randy Dunlap
@ 2014-05-15  9:33   ` Dan Carpenter
  2014-05-15 21:01     ` Randy Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Carpenter @ 2014-05-15  9:33 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: devel, linux-kernel, linux-doc

These days most people use git to send patches so I have added a section
about that.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
---
v2: fix typo in commit message
v3: update git am and log commands.  Mention the man pages.
v4: s/list/appropriate mailing list(s)/

diff --git a/Documentation/email-clients.txt b/Documentation/email-clients.txt
index 4e30eba..9293477 100644
--- a/Documentation/email-clients.txt
+++ b/Documentation/email-clients.txt
@@ -1,6 +1,17 @@
 Email clients info for Linux
 ======================================================================
 
+Git
+----------------------------------------------------------------------
+These days most developers use `git send-email` instead of regular
+email clients.  The man page for this is quite good.  On the receiving
+end, maintainers use `git am` to apply the patches.
+
+If you are new to git then send your first patch to yourself.  Save it
+as raw text including all the headers.  Run `git am raw_email.txt` and
+then review the changelog with `git log`.  When that works then send
+the patch to the appropriate mailing list(s).
+
 General Preferences
 ----------------------------------------------------------------------
 Patches for the Linux kernel are submitted via email, preferably as
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


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

* Re: [patch v4] Documentation/email-clients.txt: add a section about git
  2014-05-15  9:33   ` [patch v4] " Dan Carpenter
@ 2014-05-15 21:01     ` Randy Dunlap
  0 siblings, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2014-05-15 21:01 UTC (permalink / raw)
  To: Dan Carpenter; +Cc: devel, linux-kernel, linux-doc

On 05/15/2014 02:33 AM, Dan Carpenter wrote:
> These days most people use git to send patches so I have added a section
> about that.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Applied.  Thanks.

> ---
> v2: fix typo in commit message
> v3: update git am and log commands.  Mention the man pages.
> v4: s/list/appropriate mailing list(s)/
> 
> diff --git a/Documentation/email-clients.txt b/Documentation/email-clients.txt
> index 4e30eba..9293477 100644
> --- a/Documentation/email-clients.txt
> +++ b/Documentation/email-clients.txt
> @@ -1,6 +1,17 @@
>  Email clients info for Linux
>  ======================================================================
>  
> +Git
> +----------------------------------------------------------------------
> +These days most developers use `git send-email` instead of regular
> +email clients.  The man page for this is quite good.  On the receiving
> +end, maintainers use `git am` to apply the patches.
> +
> +If you are new to git then send your first patch to yourself.  Save it
> +as raw text including all the headers.  Run `git am raw_email.txt` and
> +then review the changelog with `git log`.  When that works then send
> +the patch to the appropriate mailing list(s).
> +
>  General Preferences
>  ----------------------------------------------------------------------
>  Patches for the Linux kernel are submitted via email, preferably as
> _______________________________________________


-- 
~Randy

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

end of thread, other threads:[~2014-05-15 21:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-13 13:32 [patch v3] Documentation/email-clients.txt: add a section about git Dan Carpenter
2014-05-14 21:12 ` Randy Dunlap
2014-05-15  9:33   ` [patch v4] " Dan Carpenter
2014-05-15 21:01     ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).