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

Re: [PATCH] dir-iterator: drop unused `DIR_ITERATOR_FOLLOW_SYMLINKS`

From
Taylor Blau <me@ttaylorr.com>
Date
Feb 16, 2023, 20:03 UTC
Message-ID
<Y+6L9R9HkkUc7PkX@nand.local>
In-Reply-To
<Y+560+/G4pelldXF@coredump.intra.peff.net>
On Thu, Feb 16, 2023 at 01:49:55PM -0500, Jeff King wrote:
> Thanks for following up on this. I think it's an obviously good
> direction, and the patch looks sensible. It's hard to grep for
> --follow-symlinks or FOLLOW_SYMLINKS to make sure you got everything,
> just because there are other unrelated features that use that name. ;)
No problem.
Show 8 quoted lines
> But...that is true even before your patch. dir5 is not mentioned in any
> of the expected output, even in fa1da7d2ee (dir-iterator: add flags
> parameter to dir_iterator_begin, 2019-07-10) where it was added. Was it
> just vestigial? Or is it somehow important that it is _not_ in the
> output?
>
> I didn't dig, and even if it can be removed, it would probably make
> sense to do it separately from your patch anyway.

I have no idea either. From a cursory scan, I think I'd err on the side of it being vestigial. But Matheus (cc'd) should be able to tell us for sure.

Thanks, Taylor

Previous: Jeff KingNext: Taylor Blau
Message 3 of 6 in “dir-iterator: drop unused `DIR_ITERATOR_FOLLOW_SYMLINKS`”
  1. dir-iterator: drop unused `DIR_ITERATOR_FOLLOW_SYMLINKS`Taylor Blau, Feb 16, 2023
  2. Jeff KingFeb 16, 2023
  3. Taylor BlauFeb 16, 2023
  4. Taylor BlauFeb 16, 2023
  5. Matheus Tavares BernardinoFeb 17, 2023
  6. 2/1 t0066: drop setup of "dir5"Jeff King, Feb 17, 2023

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.