Re: [PATCH 0/2] Alternate index output file
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Apr 1, 2007, 16:08 UTC
- Message-ID
- <Pine.LNX.4.64.0704010904430.6730@woody.linux-foundation.org>
- In-Reply-To
- <7v4po04nit.fsf_-_@assigned-by-dhcp.cox.net>
On Sat, 31 Mar 2007, Junio C Hamano wrote:
Show 6 quoted lines
> > 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