git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: shallow clone not very shallow due to tags

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Aug 17, 2011, 14:35 UTC
Message-ID
<CACsJy8BGf1uV13PrPHi621N_aeXzamOFv_yZQoL0gxUxqv-_hQ@mail.gmail.com>
In-Reply-To
<CAJo=hJvySfuWmz6vGUveC5KoR1NZGC4ji0saByVX40UxLqHqdg@mail.gmail.com>
On Wed, Aug 17, 2011 at 9:19 PM, Shawn Pearce <spearce@spearce.org> wrote:
Show 5 quoted lines
> Of course a placeholder ref cannot be used as a starting point to
> checkout something, can it? It has no commit object available. So if
> you did decide to checkout a placeholder, you would need to first
> fetch that placeholder. So why not use git ls-remote to list the
> remotely available branches?
Ah.. ls-remote is the answer. Thanks, placeholders are gone (for me).
-- 
Duy
Previous: Shawn Pearce
Message 7 of 7 in “shallow clone not very shallow due to tags”
  1. Shawn PearceAug 14, 2011
  2. Nguyen Thai Ngoc DuyAug 15, 2011
  3. Shawn PearceAug 15, 2011
  4. Philip OakleyAug 15, 2011
  5. Nguyen Thai Ngoc DuyAug 17, 2011
  6. Shawn PearceAug 17, 2011
  7. Nguyen Thai Ngoc DuyAug 17, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.