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

Re: [PATCH] Fix wrong failures in config test

From
Ingo Br ückl <ib@wupperonline.de>
Date
Jan 10, 2011, 17:15 UTC
Message-ID
<4d2b3ecd.7c62abb5.bm000@wupperonline.de>
In-Reply-To
<20110110165251.GB7714@burratino>
Jonathan Nieder wrote on Mon, 10 Jan 2011 10:52:51 -0600:
> Could you explain the nature of the failures in more detail?
Yeah, sorry.
> What version of git are you building?
1.7.3.5
> Is GIT_CONFIG already set in the environment before you run
> t1300-repo-config.sh (it shouldn't matter)?
No.
> How does output from "sh t1300-repo-config.sh -v -i" end?
  expecting success: git config --rename-section branch.eins branch.zwei
  fatal: No such section!
  not ok - 50 rename section
  #       git config --rename-section branch.eins branch.zwei

The problem is that the last 'git config' worked on other-config due to variable GIT_CONFIG. Test 50 should work now on .git/config, but as GIT_CONFIG is still set, it doesn't and fails.

Ingo
Previous: Jonathan NiederNext: Jonathan Nieder
Message 3 of 11 in “Fix wrong failures in config test”
  1. Fix wrong failures in config testIngo Br ückl, Jan 10, 2011
  2. Jonathan NiederJan 10, 2011
  3. Ingo Br ücklJan 10, 2011
  4. Jonathan NiederJan 10, 2011
  5. Junio C HamanoJan 10, 2011
  6. Ingo Br ücklJan 10, 2011
  7. Jonathan NiederJan 10, 2011
  8. Junio C HamanoJan 10, 2011
  9. Jonathan NiederJan 10, 2011
  10. Ingo Br ücklJan 10, 2011
  11. Jonathan NiederJan 10, 2011

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.