Re: shallow clone not very shallow due to tags
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Aug 17, 2011, 02:49 UTC
- Message-ID
- <CACsJy8CXiZ8uGruAk5XGFhY8MJsTHAPv3Mvh0euQdFE3U43MCg@mail.gmail.com>
- In-Reply-To
- <CAJo=hJv_NnZyGnedTQBL_mj3baS8O5Z2wiEbZCvv8305No4ehA@mail.gmail.com>
On Tue, Aug 16, 2011 at 12:16 AM, Shawn Pearce > Yes, I think a user who is making a shallow clone should only get the
> HEAD branch to the depth specified, nothing else. If they want > additional branches, they should either pass them on the command line > to a new flag for clone, or modify their fetch configuration > after-the-fact and fetch those separately.
I'd like maintain all refs of the repo, even though we though we only have objects for one branch. If I do a shallow clone and want to change branch, I could just list available branch locally instead of going to gitweb.somewhere for the branch name.
Do we have someway to represent a ref placeholder?
-- Duy