git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Feature Request git clone shallow-include
@ 2019-02-20  0:05 Joe Enzminger
  2019-02-20  1:22 ` Duy Nguyen
  0 siblings, 1 reply; 6+ messages in thread
From: Joe Enzminger @ 2019-02-20  0:05 UTC (permalink / raw)
  To: git

Currently, git clone supports shallow-exclude=<tag-name>.  The client
will clone up to, but not including, the commit with the tag.

It would be useful to have the ability to include the commit with the
tag.  The suggestion would be to add a "shallow-include" options to
clone to support this behavior.

I have tried to use shallow-exclude with a follow on git fetch
--deepen=1, but it always returns "fatal: error in object; unshallow
<sha1>"

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

end of thread, other threads:[~2019-03-30 11:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-20  0:05 Feature Request git clone shallow-include Joe Enzminger
2019-02-20  1:22 ` Duy Nguyen
2019-02-20 18:06   ` Joe Enzminger
2019-02-21 13:06     ` Duy Nguyen
2019-03-29 22:02       ` Joe Enzminger
2019-03-30 11:38         ` Duy Nguyen

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).