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

Re: [PATCH] Use a temporary index for interactive git-commit

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Dec 30, 2010, 02:51 UTC
Message-ID
<20101230025126.GA1868@burratino>
In-Reply-To
<1293670038-8606-1-git-send-email-conrad.irwin@gmail.com>
Conrad Irwin wrote:
> I'm not sure that adding parameters to functions willy-nilly is the best
> way of doing this. Can anyone suggest a cleaner mechanism?
Would a simple
	setenv(INDEX_ENVIRONMENT, index_file);
in the caller make sense?
Previous: Conrad IrwinNext: Jeff King
Message 2 of 4 in “Use a temporary index for interactive git-commit”
  1. Use a temporary index for interactive git-commitConrad Irwin, Dec 30, 2010
  2. Jonathan NiederDec 30, 2010
  3. Jeff KingDec 30, 2010
  4. Conrad IrwinDec 30, 2010

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.