git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* "git clone --shallow-exclude ...", fatal: the remote end hung up unexpectedly
@ 2019-03-15 12:14 Robert P. J. Day
  2019-03-15 12:28 ` Duy Nguyen
  0 siblings, 1 reply; 7+ messages in thread
From: Robert P. J. Day @ 2019-03-15 12:14 UTC (permalink / raw)
  To: Git Mailing list


  probably doing something idiotic but i'm enumerating variations of
shallow cloning, and tried the following:

$ git clone --shallow-exclude=master https://github.com/django/django.git
Cloning into 'django'...
fatal: the remote end hung up unexpectedly
$

  it is entirely reproducible, and some googling suggests that this
represents an error at the *other* end, which in some weird way does
not support that clone option. that seems strange ... should this
option work? am i using it incorrectly?

  wait, hang on ... i just picked one of django's topic branches at
random, and this did succeed:

$ git clone --shallow-exclude=stable/2.0.x https://github.com/django/django.git
Cloning into 'django'...
remote: Enumerating objects: 33112, done.
remote: Counting objects: 100% (33112/33112), done.
... etc etc ...
$

but all this gave me was the master branch. i clearly don't understand
what this option is supposed to do.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

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

end of thread, other threads:[~2019-03-16 12:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-15 12:14 "git clone --shallow-exclude ...", fatal: the remote end hung up unexpectedly Robert P. J. Day
2019-03-15 12:28 ` Duy Nguyen
2019-03-15 13:19   ` Robert P. J. Day
2019-03-15 13:41     ` Duy Nguyen
2019-03-15 14:31       ` Robert P. J. Day
2019-03-16  3:43         ` Duy Nguyen
2019-03-16 12:15           ` Robert P. J. Day

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).