git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / Atom feed
* Shallow-to-deep conversion error query
@ 2019-10-08 21:38 Francis M
  0 siblings, 0 replies; only message in thread
From: Francis M @ 2019-10-08 21:38 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-08 21:38 Shallow-to-deep conversion error query Francis M

git@vger.kernel.org list mirror (unofficial, one of many)

Archives are clonable:
	git clone --mirror https://public-inbox.org/git
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.version-control.git
	nntp://ou63pmih66umazou.onion/inbox.comp.version-control.git
	nntp://czquwvybam4bgbro.onion/inbox.comp.version-control.git
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.version-control.git
	nntp://news.gmane.org/gmane.comp.version-control.git

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox