From: Junio C Hamano <gitster@pobox.com>
To: "Miguel Ángel Pastor Olivar via GitGitGadget" <gitgitgadget@gmail.com>
Cc: git@vger.kernel.org,
"Miguel Ángel Pastor Olivar" <miguelinlas3@gmail.com>
Subject: Re: [PATCH 0/2] Symlink resolutions: limits and return modes
Date: Mon, 17 Jun 2024 12:33:46 -0700 [thread overview]
Message-ID: <xmqq34pb749x.fsf@gitster.g> (raw)
In-Reply-To: <pull.1751.git.1718615028.gitgitgadget@gmail.com> ("Miguel Ángel Pastor Olivar via GitGitGadget"'s message of "Mon, 17 Jun 2024 09:03:46 +0000")
"Miguel Ángel Pastor Olivar via GitGitGadget"
<gitgitgadget@gmail.com> writes:
> 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".
prev parent reply other threads:[~2024-06-17 19:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-17 9:03 [PATCH 0/2] Symlink resolutions: limits and return modes Miguel Ángel Pastor Olivar via GitGitGadget
2024-06-17 9:03 ` [PATCH 1/2] cat-file: configurable number of symlink resolutions Miguel Ángel Pastor Olivar via GitGitGadget
2024-06-17 19:33 ` Junio C Hamano
2024-06-17 9:03 ` [PATCH 2/2] cat-file: configurable "best effort mode" for symlink resolution Miguel Ángel Pastor Olivar via GitGitGadget
2024-06-17 19:33 ` Junio C Hamano
2024-06-17 19:33 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqq34pb749x.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=gitgitgadget@gmail.com \
--cc=miguelinlas3@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).