From: Andry <andry@inbox.ru>
To: "Philip Oakley" <philipoakley@iee.email>,
"Đoàn Trần Công Danh" <congdanhqx@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Hash for a commit sourcetree beside to a commit hash
Date: Sun, 5 Feb 2023 04:41:06 +0300 [thread overview]
Message-ID: <1185159444.20230205044106@inbox.ru> (raw)
In-Reply-To: <01dd49c1-026d-1215-dd06-02fe73ce14f8@iee.email>
Hello Philip,
Saturday, February 4, 2023, 1:39:31 AM, you wrote:
>> PO> As a 'Distributed'-VCS, cloning the repository would be the de-facto
>> PO> normal approach, otherwise you have re-invented centralised VCS ;-)
>>
>> Cloning repository is a heavy operation by downloading everything instead of search a single commit.
>> And searching at the remote does not make it a central.
PO> It's not local though ;-)
PO> Given that there's usually a trusted remote in this scenario (that's why
PO> your searching it)
I am searching it because it is a fork of many other forks.
PO> it does feel very like a 'centralised' VCS, even if
PO> formally is isn't stated as such.
It feels not. I don't see how this is connected to anything.
>>
>> PO> Alternatively, you could approach the server (hub/web interface)
>> PO> provider to see if they are willing to provide that level of search
>> PO> interface.
>>
>> The GitHub already provides that in the search field. Just input a hash and see what happens.
PO> There is still a need to walk the commit graph to discover each commit's
PO> tree to do the look-back. There are some catch 22 steps to be done.
Calculate a hash from an ordered sourcetree diff is not 22 steps.
PO> How do you determine the sourcetree has that starts this process? (have
PO> we accidentally created an XY problem?)
PO> Obliterating history is hard [1].
PO> --
PO> Philip
PO> [1]
PO> https://lore.kernel.org/git/5cab1530-f8b6-cef3-7b93-48fad410a160@iee.email/
How this related to the issue?
next prev parent reply other threads:[~2023-02-05 1:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-03 1:28 Hash for a commit sourcetree beside to a commit hash Andry
2023-02-03 2:01 ` Đoàn Trần Công Danh
2023-02-03 2:21 ` Andry
2023-02-03 11:11 ` Philip Oakley
2023-02-03 13:37 ` Andry
2023-02-03 15:15 ` Đoàn Trần Công Danh
2023-02-04 4:50 ` Andry
2023-02-03 22:39 ` Philip Oakley
2023-02-05 1:41 ` Andry [this message]
2023-02-12 13:27 ` Andry
2023-02-26 9:37 ` Andry
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=1185159444.20230205044106@inbox.ru \
--to=andry@inbox.ru \
--cc=congdanhqx@gmail.com \
--cc=git@vger.kernel.org \
--cc=philipoakley@iee.email \
/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