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

Re: [RFC] Hidden refs

From
SBStephen Bash <bash@genarts.com>
Date
Oct 13, 2010, 15:32 UTC
Message-ID
<3305459.485811.1286983945370.JavaMail.root@mail.hq.genarts.com>
In-Reply-To
<4CB5CEA3.8020702@xiplink.com>
Show 7 quoted lines
> So I'm wondering if it makes sense to properly support hidden
> directories in
> refs/, and what it would take to do so. (I image, for example, that
> things
> would behave quite differently on Windows...)
> 
> Thoughts?
We currently use refs/hidden/heads and refs/hidden/tags for hidden refs.  It does require calling 'gitk --branches --tags' rather than 'gitk --all', but otherwise I like the behavior (git branch only lists refs/heads, git tag only lists ref/tags).  And they never get cloned by default (they can still be fetched when needed).
Stephen
Previous: Marc BranchaudNext: Marc Branchaud
Message 2 of 8 in “[RFC] Hidden refs”
  1. Marc BranchaudOct 13, 2010
  2. Stephen BashOct 13, 2010
  3. Marc BranchaudOct 13, 2010
  4. Jeff KingOct 13, 2010
  5. Junio C HamanoOct 13, 2010
  6. Jeff KingOct 13, 2010
  7. Junio C HamanoOct 13, 2010
  8. Jonathan NiederOct 13, 2010

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.