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

Re: [PATCH 2/1] do not pass "git -c foo=bar" params to transport helpers

From
EREric Raible <raible@gmail.com>
Date
Aug 24, 2010, 19:07 UTC
Message-ID
<loom.20100824T210316-895@post.gmane.org>
In-Reply-To
<20100824064114.GA20724@burratino>
Jonathan Nieder <jrnieder <at> gmail.com> writes:
Show 7 quoted lines
>  #define GRAFT_ENVIRONMENT "GIT_GRAFT_FILE"
>  #define TEMPLATE_DIR_ENVIRONMENT "GIT_TEMPLATE_DIR"
>  #define CONFIG_ENVIRONMENT "GIT_CONFIG"
> +#define CONFIG_DATA_ENVIRONMENT "GIT_CONFIG_PARAMETERS"
>  #define EXEC_PATH_ENVIRONMENT "GIT_EXEC_PATH"
>  #define CEILING_DIRECTORIES_ENVIRONMENT "GIT_CEILING_DIRECTORIES"
>  #define NO_REPLACE_OBJECTS_ENVIRONMENT "GIT_NO_REPLACE_OBJECTS"

Given that the pattern is: #define foo_ENVIRONMENT "GIT_foo"

Your addition should be: #define CONFIG_PARAMETERS_ENVIRONMENT "GIT_CONFIG_PARAMETERS"

Not only that, but the first one should be:
#define GRAFT_FILE_ENVIRONMENT "GIT_GRAFT_FILE"
Previous: Jeff KingNext: Junio C Hamano
Message 6 of 11 in “"git -c web.browser=w3m help -w help" still kicks firefox”
  1. Junio C HamanoAug 23, 2010
  2. Jeff KingAug 23, 2010
  3. Jeff KingAug 23, 2010
  4. 2/1 do not pass "git -c foo=bar" params to transport helpersJonathan Nieder, Aug 24, 2010
  5. Jeff KingAug 24, 2010
  6. Eric RaibleAug 24, 2010
  7. Junio C HamanoJul 1, 2024
  8. Alex RiesenAug 23, 2010
  9. Jeff KingAug 23, 2010
  10. Jonathan NiederAug 24, 2010
  11. Jeff KingAug 24, 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.