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>"

Reply via email to