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

Re: [PATCH] Don't use GIT_CONFIG in t5505-remote

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 27, 2008, 08:16 UTC
Message-ID
<7vk5kqx18u.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20080226221959.GB6098@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 13 quoted lines
> On Tue, Feb 26, 2008 at 05:15:31PM -0500, Daniel Barkalow wrote:
>
>> For some reason, t5505-remote was setting GIT_CONFIG to .git/config
>> and exporting it. The sole effect of this was to cause the tests to
>> fail if "git clone" obeyed it (which it presumably should).
>> 
>> Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
>> ---
>> Maybe test-lib used to set GIT_CONFIG to something that would interfere? 
>> Or the default behavior was wrong?
>
> test-lib used to set it to ".git/config" until recently, so this would
> have been a no-op. As to why it was ever in here, I have no idea.
Right.
Previous: Jeff KingNext: Junio C Hamano
Message 3 of 4 in “Don't use GIT_CONFIG in t5505-remote”
  1. Don't use GIT_CONFIG in t5505-remoteDaniel Barkalow, Feb 26, 2008
  2. Jeff KingFeb 26, 2008
  3. Junio C HamanoFeb 27, 2008
  4. Junio C HamanoFeb 27, 2008

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.