Re: [RFC] Renaming environment variables.
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 10, 2005, 00:22 UTC
- Message-ID
- <7vzmv4udyx.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20050510001351.GH15712@pasky.ji.cz>
>>>>> "PB" == Petr Baudis <pasky@ucw.cz> writes:
PB> I think it would be nice to have something like GIT_BASEDIR, PB> which would default to .git, and the objects directory would PB> then default to $GIT_BASEDIR/objects and the index file PB> would default to $GIT_BASEDIR/index.
Yes and no. While I agree that having more things customizable may be nicer than not having them, I do not see what GIT_BASEDIR buys us. That is, I cannot come up with a good use scenario that would be helped by having that environment variable.
Except that you do not have to specify GIT_OBJECTS and GIT_INDEX_FILE separately, that is. Is it what you are aiming for?