Re: [RFC 2/2] Automatically transform .git/{branches,remotes} into .git/config
- From
Andreas Ericsson <ae@op5.se>
- Date
- Nov 28, 2005, 08:43 UTC
- Message-ID
- <438AC32E.5010100@op5.se>
- In-Reply-To
- <7vfyph1ebq.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 13 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > >>I only realized that we -- in the good tradition of UNIX -- have many >>different formats for different configurations: Some configurations are in >>.gitignore, some are in .git/branches/, some in .git/remotes/, some in >>.git/config, and even some in environment variables! > > > Can you live with something like this? > > - we will add new ones to config, now we have it; >
I'd still like to see git-repo-config and git-user-config. Otherwise we'll need to continue having user-based environment variables (GIT_COMMITTER_IDENT and friends).
Show 5 quoted lines
> > - we would revisit deprecating things outside config file > sometime later after 1.0 stabilizes, and that's when we will > talk about moving these things into config. >
GIT_DIR and GIT_OBJECT_DIR must remain environment variables (or command line arguments) more or less indefinitely. It doesn't make sense to keep them any other way.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231