From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: set git diff driver for C source code files
Date: Tue, 21 Feb 2017 18:26:37 +0100 [thread overview]
Message-ID: <2345007.fdSCuFkgUi@bentobox> (raw)
In-Reply-To: <20170221090640.14686-1-sven@narfation.org>
[-- Attachment #1: Type: text/plain, Size: 729 bytes --]
On Dienstag, 21. Februar 2017 10:06:40 CET Sven Eckelmann wrote:
> From: Jean Delvare <jdelvare@suse.de>
>
> Git can be told to apply language-specific rules when generating diffs.
> Enable this for C source code files (*.c and *.h) so that function names
> are printed right. Specifically, doing so prevents "git diff" from
> mistakenly considering unindented goto labels as function names.
>
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> [sven@narfation.org: Ported patch from linux.git]
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
Applied in e3bab02816097f860545d9ce9ae0808c69d7c92f [1].
Kind regards,
Sven
[1] https://git.open-mesh.org/batman-adv.git/commit/e3bab02816097f860545d9ce9ae0808c69d7c92f
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2017-02-21 17:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-21 9:06 [B.A.T.M.A.N.] [PATCH] batman-adv: set git diff driver for C source code files Sven Eckelmann
2017-02-21 17:26 ` Sven Eckelmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2345007.fdSCuFkgUi@bentobox \
--to=sven@narfation.org \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox