From: Junio C Hamano <gitster@pobox•com>
To: "Carlsson\, Magnus" <Magnus.Carlsson@arris•com>
Cc: "git\@vger.kernel.org" <git@vger•kernel.org>
Subject: Re: Fetching commit instead of ref
Date: Fri, 22 Dec 2017 10:47:12 -0800 [thread overview]
Message-ID: <xmqqlghusiq7.fsf@gitster.mtv.corp.google.com> (raw)
In-Reply-To: <1513756114533.56362@arris.com> (Magnus Carlsson's message of "Wed, 20 Dec 2017 07:48:34 +0000")
"Carlsson, Magnus" <Magnus.Carlsson@arris•com> writes:
> $ git fetch subrepo 50f730db793e0733b159326c5a3e78fd48cedfec:refs/remote/subrepo/foo-commit
> remote: Counting objects: 2311, done.
> remote: Total 2311 (delta 0), reused 0 (delta 0), pack-reused 2311
> -- >>> Receiving objects: 100% (2311/2311), 703.64 KiB | 0 bytes/s, done.
> Resolving deltas: 100% (1174/1174), done.
> error: Server does not allow request for unadvertised object 50f730db793e0733b159326c5a3e78fd48cedfec
Unless that "fetch" is doing a recursive fetch from another
repository (which causes the counting to be shown) or something
silly, the above makes it look like that the server is broken.
A quick test locally does not seem to show such a behaviour, but I
do not enable pack bitmaps and I know github does at least for some
repositories, so it is possible there is a problem somewhere in that
codepath.
prev parent reply other threads:[~2017-12-22 18:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-18 12:30 Fetching commit instead of ref Carlsson, Magnus
2017-12-18 18:16 ` Jonathan Tan
2017-12-18 18:22 ` Stefan Beller
2017-12-18 18:44 ` Junio C Hamano
2017-12-19 8:41 ` Carlsson, Magnus
2017-12-19 16:07 ` Junio C Hamano
2017-12-20 7:48 ` Carlsson, Magnus
2017-12-22 18:47 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqlghusiq7.fsf@gitster.mtv.corp.google.com \
--to=gitster@pobox$(echo .)com \
--cc=Magnus.Carlsson@arris$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox