From: Mark Wooding <mdw@distorted.org.uk>
To: git@vger.kernel.org
Subject: Configuration file musings
Date: Sun, 12 Feb 2006 13:45:44 +0000 (UTC) [thread overview]
Message-ID: <slrnduuf08.518.mdw@metalzone.distorted.org.uk> (raw)
Having thought about things a bit, I've reached the conclusion that the
configuration file $GIT_DIR/config is trying to hold (at least) three
entirely different kinds of configuration.
* User configuration: basically, how I like GIT to work for me. I
think that the way it represents my name in commit messages is user
configuration, as would be the behaviour of `git-commit PATH'.
Environment variables almost work for this, but they're a nuisance
to change. This stuff ought to be somewhere in my home directory,
probably; though it would be useful to override temporarily, or on a
per-repository basis.
* Project configuration: how GIT should be supporting a particular
project. The merge.summary flag is like this, I think: whether to
have summaries in merge messages is a policy decision to be taken
for a whole project, rather than something to be left to the whims
of individual developers. Such settings probably to be propagated
through git-clone, git-fetch and so on.
* True repository configuration: how this particular repository ought
to behave. I can't think of many examples off the top of my head,
but core.repositoryformatversion and core.filemode are the sorts of
things I'm thinking of.
I'm not entirely sure where I'm going with this at the moment, and I
don't like some of the complexity which seems inherent in doing anything
about it, but I thought I'd stick my oar in anyway.
-- [mdw]
next reply other threads:[~2006-02-12 13:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-12 13:45 Mark Wooding [this message]
2006-02-12 18:56 ` Configuration file musings Junio C Hamano
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=slrnduuf08.518.mdw@metalzone.distorted.org.uk \
--to=mdw@distorted.org.uk \
--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