Re: Hash for a commit sourcetree beside to a commit hash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Đoàn,



Friday, February 3, 2023, 6:15:16 PM, you wrote:

ĐTCD> On 2023-02-03 16:37:20+0300, Andry <andry@xxxxxxxx> wrote:
>> Hello Philip,
>> >> Nice, but I can not apply this over a git hub or a web interface without a clone.
>> 
>> 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.

ĐTCD> You can limit the download with "git clone --filter=tree:0"
ĐTCD> which only fetch the commit but not any tree or file contents.

And what next? You still need to download something to see.
Better to start search in the remote anyway, because, for example, it is someone's else repository you don't want to download at all until you find something.
This is how it works in first place - you search something to start download, instead of to download at first to search something.




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux