git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git: list of my complaints about future graft removal

From
ASAskar Safin <safinaskar@zohomail.com>
Date
Aug 19, 2025, 13:57 UTC
Message-ID
<198c29e9058.119e3a5c065010.5888624019176274871@zohomail.com>
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

Next: Bagas Sanjaya
Message 1 of 4 in “git: list of my complaints about future graft removal”
  1. Askar SafinAug 19, 2025
  2. Bagas SanjayaAug 20, 2025
  3. Askar SafinAug 25, 2025
  4. Junio C HamanoAug 25, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.