Re: [patch v2] Documentation/email-clients.txt: add a section about git
From: Randy Dunlap
Date: Sat May 10 2014 - 20:20:09 EST
On 05/08/2014 01:44 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@xxxxxxxxxx>
> ---
> v2: Fixed changelog
>
> diff --git a/Documentation/email-clients.txt b/Documentation/email-clients.txt
> index 4e30eba..9004a5fd 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. On the receiving end, maintainers use `git am` to
> +apply the patches.
> +
Why is there nothing here about how to use 'git send-email' to send patches?
> +If you are new to git then send your first patch to yourself. Save it
> +as raw text including all the headers. Run `cat raw_email.txt | git am`
> +and then review the changelog with `git log -p`. When that works then
> +send the patch to list.
> +
> General Preferences
> ----------------------------------------------------------------------
> Patches for the Linux kernel are submitted via email, preferably as
--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/