All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Enzminger <joe.enzminger@exactasystems.com>
To: git@vger.kernel.org
Subject: Feature Request git clone shallow-include
Date: Tue, 19 Feb 2019 18:05:30 -0600	[thread overview]
Message-ID: <CAApa7v-F7Y_WR11V-3jc-R4Y1qSv5PPof6GWvJuF_XMeTcC2zw@mail.gmail.com> (raw)

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	other threads:[~2019-02-20  0:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-20  0:05 Joe Enzminger [this message]
2019-02-20  1:22 ` Feature Request git clone shallow-include 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAApa7v-F7Y_WR11V-3jc-R4Y1qSv5PPof6GWvJuF_XMeTcC2zw@mail.gmail.com \
    --to=joe.enzminger@exactasystems.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.