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

Re: [PATCH] t7300: repair filesystem permissions with test_when_finished

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 2, 2014, 20:06 UTC
Message-ID
<xmqq38ejh6er.fsf@gitster.dls.corp.google.com>
In-Reply-To
<xmqq7g3vh6h1.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 7 quoted lines
> It tests that "clean -d" is happy if a blind rmdir(2) removes the
> directory.  If it fails for whatever reason (e.g. add "exit(0)" at
> the beginning of cmd_clean(), for example) to remove the directory,
> we do leave an empty unreadable directory behind.
>
> But as long as that directory is empty, that will not cause us to
> remove the trash directory at the end, so we should be OK.
s/remove/fail to &/; sorry for the noise.
Previous: Junio C HamanoNext: Jeff King
Message 5 of 8 in “t7300: repair filesystem permissions with test_when_finished”
  1. t7300: repair filesystem permissions with test_when_finishedJeff King, Jul 2, 2014
  2. Jonathan NiederJul 2, 2014
  3. Jeff KingJul 2, 2014
  4. Junio C HamanoJul 2, 2014
  5. Junio C HamanoJul 2, 2014
  6. [RFH] "git clean" deletes excluded files in untracked directoriesJeff King, Jul 2, 2014
  7. Junio C HamanoJul 22, 2014
  8. Junio C HamanoJul 22, 2014

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.