linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git: list of my complaints about future graft removal
@ 2025-08-19 13:57 Askar Safin
  2025-08-20 14:11 ` Bagas Sanjaya
  0 siblings, 1 reply; 4+ messages in thread
From: Askar Safin @ 2025-08-19 13:57 UTC (permalink / raw)
  To: git, gitster, helpdesk, kernelnewbies, kernel-janitors, linux-doc

Hi.

I just have read in https://github.com/git/git/blob/v2.51.0/Documentation/BreakingChanges.adoc that
git grafts will be removed in git 3.0.

Let me share my list of complaints/objections/thoughts about this.

(And also some info for kernel.org admins.)

* As well as I understand, Linux history repo
( https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/ )
relies on grafts. It is supposed that whoever clones that repo,
should manually graft latest commit of history repo with earliest commit
of main Linux history. Also that person should graft two other commits of history
repo (as well as I understand).

So, git and/or kernel.org people, please, ensure that this history repo
will continue to work after removal of grafts.

Also, currently this is very hard to discover how to get full Linux
history. If we type "how to get unified linux kernel git history"
to Google, we will get this answer:
https://stackoverflow.com/a/8130239 ,
which also points to this link:
https://archive.org/details/git-history-of-linux .

Both these links rely on grafts.
So, please, make sure that whoever types "how to get unified linux kernel git history"
into Google will get modern instructions in top links,
which do not rely on grafts.

Again: I strongly think that we should not remove graft support
until https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/
is made compatible with "git replace".
history.git is valuable repo, and I think a lot of people use history.git .

Git release notes for 3.0 should mention how to get history.git
working without grafts.

* As well as I understand, "git clone --depth=1" rely on grafts, too.
I hope "git clone --depth=1" will continue to work.

--
Askar Safin
https://types.pl/@safinaskar


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-08-25 23:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-19 13:57 git: list of my complaints about future graft removal Askar Safin
2025-08-20 14:11 ` Bagas Sanjaya
2025-08-25 13:39   ` Askar Safin
2025-08-25 23:36   ` Junio C Hamano

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).