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

Shallow-to-deep conversion error query

From
FMFrancis M <fmcbra@gmail.com>
Date
Oct 8, 2019, 21:38 UTC
Message-ID
<CAO+szGsZS9CaU4u77pwxwDssHszFeDAshVxLmqJhd3VAR5T=uA@mail.gmail.com>
Hello,

Quick question, hopefully. Have tried searching through my local archive of the list but didn't find an answer, so fingers crossed this hasn't come up come up frequently in the past...

So, a fresh shallow clone[1] of Linus' mainline repo followed by "git fetch --unshallow" results in:

  fatal: error in object: unshallow <sha1>

Re-packing with "git repack -d" sorts it all out, but my question is: is this a bug, or is it instead down to something like the server-side version of git that created the pack being outdated or similar?

Cheers, Francis

[1]

# git clone --shallow-since='Tue 1 Jan 00:00:00 BST 2019' https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git torvalds/linux-mainline [...] Checking out files: 100% (65698/65698), done. # git fetch --unshallow fatal: error in object: unshallow 00f8ccd0c95f4e604297057a5bccec86c0903d14

Message 1 of 1 in “Shallow-to-deep conversion error query”
  1. Francis MOct 8, 2019

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.