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

Reply via email to