From: Daniel Hahler <genml+git-2014@thequod.de>
To: git@vger.kernel.org
Subject: diff: use built-in patterns by default via git attributes
Date: Tue, 09 Dec 2014 21:18:30 +0100 [thread overview]
Message-ID: <54875916.7020107@thequod.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 361 bytes --]
Hi,
I'm wondering why the built-in patterns (defined in userdiff.c) are not
being applied by default, e.g. what you would normally do in
core.attributesfile via:
*.py diff=python
Wouldn't it make sense to provide certain defaults for attributes, where
Git provides enhanced patterns?
Regards,
Daniel.
--
http://daniel.hahler.de/
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 173 bytes --]
next reply other threads:[~2014-12-09 20:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-09 20:18 Daniel Hahler [this message]
2014-12-09 20:42 ` diff: use built-in patterns by default via git attributes Jeff King
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=54875916.7020107@thequod.de \
--to=genml+git-2014@thequod.de \
--cc=git@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.