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

Re: [PATCH 0/2] Symlink resolutions: limits and return modes

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 17, 2024, 19:33 UTC
Message-ID
<xmqq34pb749x.fsf@gitster.g>
In-Reply-To
<pull.1751.git.1718615028.gitgitgadget@gmail.com>

"Miguel Ángel Pastor Olivar via GitGitGadget" <gitgitgadget@gmail.com> writes:

Show 12 quoted lines
> The current code already provides a limit to the maximum number of
> resolutions that can be performed, and something similar to this is returned
> to the caller:
>
> loop SP <size> LF
> <object> LF
>
>
> With these patches, we are looking to return the actual information of the
> object where the resolution stopped. Something similar to:
>
> <oid> blob <size>\nndata\n

Just a random and idle thought, but is it all that interesting to learn only about the object at the horizon?

If recursive resolutions are limited to say 3 levels, I wonder if it is beneficial to give full record from each iteration without losing information, e.g., saying "A points at B which in turn points at C, and I stopped there but C is still not the final thing", instead of saying "I followed links and C was the last one I saw after I repeated for the maximum number of times the configuration allows me to".

Previous: Junio C Hamano
Message 6 of 6 in “Symlink resolutions: limits and return modes”
  1. 0/2 Symlink resolutions: limits and return modesMiguel Ángel Pastor Olivar via GitGitGadget, Jun 17, 2024
  2. 1/2 cat-file: configurable number of symlink resolutionsMiguel Ángel Pastor Olivar via GitGitGadget, Jun 17, 2024
  3. Junio C HamanoJun 17, 2024
  4. 2/2 cat-file: configurable "best effort mode" for symlink resolutionMiguel Ángel Pastor Olivar via GitGitGadget, Jun 17, 2024
  5. Junio C HamanoJun 17, 2024
  6. Junio C HamanoJun 17, 2024

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.