git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Junio C Hamano
Message 7 of 7 in “Sanity checking request”
  1. Junio C HamanoMar 28, 2007
  2. Linus TorvaldsMar 28, 2007
  3. Junio C HamanoMar 28, 2007
  4. 0/2 Alternate index output fileJunio C Hamano, Apr 1, 2007
  5. 1/2 _GIT_INDEX_OUTPUT: allow plumbing to output to an alternative index file.Junio C Hamano, Apr 1, 2007
  6. 2/2 git-read-tree --index-output=<file>Junio C Hamano, Apr 1, 2007
  7. Linus TorvaldsApr 1, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.