Thread (1 message) 1 message, 1 author, 2025-08-25

Re: git: list of my complaints about future graft removal

From: Junio C Hamano <hidden>
Date: 2025-08-25 23:36:49
Also in: kernel-janitors, linux-doc

Bagas Sanjaya [off-list ref] writes:
On Tue, Aug 19, 2025 at 05:57:08PM +0400, Askar Safin wrote:
quoted
* As well as I understand, "git clone --depth=1" rely on grafts, too.
I hope "git clone --depth=1" will continue to work.
So shallow clones should use git-replace(1) under the hood (both on initial
clone, deepening with --shallow-since and --unshallow), right?
An unfortunate historical glitch is that shallow uses neither the
grafts (which is being removed) nor replace but its own mechanism.
It internally borrows the same "graft" code paths but the data is
stored outside the normal grafts mechanism, if I understand
correctly.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help