git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* problem with updating a shallow clone via a branch fetch
@ 2011-03-01  0:12 Rick Bradley
  2011-03-01  0:25 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Rick Bradley @ 2011-03-01  0:12 UTC (permalink / raw)
  To: git

So I have a git repo that is shallow cloned:

  % git clone --depth 1 <repo url>

Sometimes (very rarely), when I do a branch fetch to update that
repository I get an error:

 % git fetch origin +refs/head/<branch>:refs/remotes/origin/<branch>

fatal: did not find object for shallow <hash>

There are only 3 mentions of this error on google, none of which are
enlightening.  The error is being emitted by receive_need(void) in
upload-pack.c.  The commit in question exists in the named branch in
the upstream repository, and I'm not aware that anything sketchy
(forced pushes, etc.) has gone on.  I'm going to continue to research
the history of the repo and the deployment, but I can't seem to get
any insight on what the error actually means (i.e., what conditions
would cause this error to be triggered).

Any help is appreciated,
Rick

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-13  4:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-01  0:12 problem with updating a shallow clone via a branch fetch Rick Bradley
2011-03-01  0:25 ` Junio C Hamano
2011-03-01  2:07   ` Rick Bradley
2012-01-13  4:09     ` Rahul Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).