From: Linus Torvalds Date: Sun, 01 Apr 2007 16:08:33 GMT Subject: Re: [PATCH 0/2] Alternate index output file Message-ID: In-Reply-To: <7v4po04nit.fsf_-_@assigned-by-dhcp.cox.net> On Sat, 31 Mar 2007, Junio C Hamano wrote: > > If a curious user has the environment variable set to something > other than the file GIT_INDEX_FILE points at, almost everything > will break. This should instead be a command line parameter to > tell these plumbing commands to write the result in the named > file, to prevent stupid mistakes. I agree, that sounds sane. In general, we should probably support command-line parameters for most of those things, rather than force the use of environment parameters (the way we already do with "--author", for example). Linus