From: Junio C Hamano Date: Fri, 22 Dec 2017 18:47:12 GMT Subject: Re: Fetching commit instead of ref Message-ID: In-Reply-To: <1513756114533.56362@arris.com> "Carlsson, Magnus" 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.