From: Andy Parkins <andyparkins@gmail.com>
To: git@vger.kernel.org
Cc: Brian Gernhardt <benji@silverinsanity.com>
Subject: Re: [PATCH] Quick description of possible gitattributes system
Date: Fri, 2 Mar 2007 19:35:57 +0000 [thread overview]
Message-ID: <200703021935.58992.andyparkins@gmail.com> (raw)
In-Reply-To: <E246B7BC-9C82-4F4E-93F0-60B3F1CA54F1@silverinsanity.com>
On Friday 2007, March 02, Brian Gernhardt wrote:
> I'm sorry, I was assuming that information on what to do with each
> attribute would be in the config file while a majority of the
> attribute information was in an in-tree file. I was actually
> assuming:
It's definitely in the .gitattributes file, but is also optionally in
the config as well. This means that a user can always override
something locally - i.e. they're always in control of their own
repository, even when they disagree with upstream (perhaps).
> .git/config:
> [attribute "image"]
> show = ...
> merge = ...
>
> With the ability to have additional "path =" entries for *local*
> overrides/additions. Storing the handler information in
That's almost exactly it; but it makes the assumption that each
attribute will have one unique handler. Separating them means that
multiple attributes can use one handler (or set of handlers).
> the .gitattributes is one of the worst things you could do, IMHO. It
> assumes that people will have a homogenous environment to develop in,
Oh definitely. This is one thing that everybody absolutely agrees on.
The in-tree file /only/ adds attributes and never says what effect
those attributes have.
Andy
--
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
next prev parent reply other threads:[~2007-03-02 19:38 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-01 12:06 [PATCH] Quick description of possible gitattributes system Andy Parkins
2007-03-01 16:06 ` Brian Gernhardt
2007-03-02 12:00 ` Andy Parkins
2007-03-02 18:05 ` Brian Gernhardt
2007-03-02 19:35 ` Andy Parkins [this message]
2007-03-02 20:35 ` Brian Gernhardt
2007-03-01 18:01 ` Robin Rosenberg
2007-03-02 0:09 ` Junio C Hamano
2007-03-02 4:46 ` Junio C Hamano
2007-03-02 8:58 ` Andy Parkins
2007-03-02 8:56 ` Andy Parkins
2007-03-02 13:56 ` Jakub Narebski
2007-03-02 16:58 ` Linus Torvalds
2007-03-02 19:37 ` Andy Parkins
2007-03-02 21:02 ` Linus Torvalds
2007-03-02 21:45 ` Johannes Schindelin
2007-03-02 22:21 ` Andy Parkins
2007-03-02 22:24 ` Andy Parkins
2007-03-03 13:11 ` Junio C Hamano
2007-03-03 20:27 ` Jakub Narebski
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=200703021935.58992.andyparkins@gmail.com \
--to=andyparkins@gmail.com \
--cc=benji@silverinsanity.com \
--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 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).