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

Re: [PATCH] t1300: attempting to remove a non-existent .git/config is not an error

From
Jeff King <peff@peff.net>
Date
Oct 19, 2011, 16:13 UTC
Message-ID
<20111019161302.GA3157@sigill.intra.peff.net>
In-Reply-To
<4E9E7E22.7010905@viscovery.net>
On Wed, Oct 19, 2011 at 09:37:06AM +0200, Johannes Sixt wrote:
Show 8 quoted lines
> From: Johannes Sixt <j6t@kdbg.org>
> 
> Since some tests before test number 79 ("quoting") are skipped, .git/config
> does not exist and 'rm .git/config' fails. Fix this particular case.
> 
> While at it, move other instance of 'rm .git/config' that occur in this
> file inside the test function to document that the test cases want to
> protect themselves from remnants of earlier tests.
Thanks, this fix looks good to me.
-Peff
Previous: Johannes SixtNext: Jeff King
Message 9 of 13 in “Documentation: update [section.subsection] to reflect what git does”
  1. Documentation: update [section.subsection] to reflect what git doesCarlos Martín Nieto, Oct 12, 2011
  2. Jeff KingOct 12, 2011
  3. Jeff KingOct 12, 2011
  4. Jeff KingOct 12, 2011
  5. 1/2 t1300: put git invocations inside test functionJeff King, Oct 12, 2011
  6. Johannes SixtOct 19, 2011
  7. Junio C HamanoOct 19, 2011
  8. t1300: attempting to remove a non-existent .git/config is not an errorJohannes Sixt, Oct 19, 2011
  9. Jeff KingOct 19, 2011
  10. 2/2 t1300: test mixed-case variable retrievalJeff King, Oct 12, 2011
  11. Junio C HamanoOct 12, 2011
  12. Junio C HamanoOct 12, 2011
  13. Jeff KingOct 12, 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.