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

Re: [PATCH] git-remote exclude

From
APAndy Parkins <andyparkins@gmail.com>
Date
Jan 15, 2007, 11:55 UTC
Message-ID
<200701151155.26111.andyparkins@gmail.com>
In-Reply-To
<Pine.LNX.4.63.0701151118400.22628@wbgn013.biozentrum.uni-wuerzburg.de>
On Monday 2007 January 15 10:23, Johannes Schindelin wrote:
> But then, I don't really see _why_ you would want such a solution. After
> all, you are more likely to be interested in _specific_ branches, rather
> than all branches _except_ a few.

That's not true. I have a patch (that doesn't work, so it's not submitted), that would allow me to have:

[remote "origin"]
    url = git://git2.kernel.org/pub/scm/git/git.git
    fetch = refs/heads/*:refs/remotes/up/*
    fetch = !refs/heads/html
    fetch = !refs/heads/todo

i.e. I don't want those two branches, but I do want everything else. I'd also like to be able to do "!/refs/heads/temp/*" so I could block a whole subdirectory of branches. I have a feeling that this would come in handy for people like the person who was recently talking about having 880 branches in his repository, with only a few active.

Andy
-- 
Dr Andy Parkins, M Eng (hons), MIEE
andyparkins@gmail.com
Previous: Johannes SchindelinNext: Jakub Narebski
Message 3 of 10 in “git-remote exclude”
  1. git-remote excludeQuy Tonthat, Jan 14, 2007
  2. Johannes SchindelinJan 15, 2007
  3. Andy ParkinsJan 15, 2007
  4. Jakub NarebskiJan 15, 2007
  5. Junio C HamanoJan 15, 2007
  6. Andy ParkinsJan 16, 2007
  7. Johannes SchindelinJan 16, 2007
  8. Quy TonthatJan 17, 2007
  9. Johannes SchindelinJan 17, 2007
  10. Quy TonthatJan 17, 2007

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.