git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Way to specify an exclusion refspec?
@ 2010-12-02 22:17 Dun Peal
  2010-12-03  1:20 ` Sverre Rabbelier
  0 siblings, 1 reply; 2+ messages in thread
From: Dun Peal @ 2010-12-02 22:17 UTC (permalink / raw)
  To: Git ML

Hi. The manpage describes how to specify an inclusion refspec, like
for example the default one that gets set for `origin` in
`.git/config`, which tells git to include all (`*`) heads in every
fetch operation:

  +refs/heads/*:refs/remotes/origin/*

But how about specifying an exclusion refspec?  For instance, we want
to fetch all heads (`*`) except `foo`, or all heads beginning in "ba"
(`ba*`) except `bar`.

Thanks, D

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Way to specify an exclusion refspec?
  2010-12-02 22:17 Way to specify an exclusion refspec? Dun Peal
@ 2010-12-03  1:20 ` Sverre Rabbelier
  0 siblings, 0 replies; 2+ messages in thread
From: Sverre Rabbelier @ 2010-12-03  1:20 UTC (permalink / raw)
  To: Dun Peal; +Cc: Git ML

Heya,

On Thu, Dec 2, 2010 at 23:17, Dun Peal <dunpealer@gmail.com> wrote:
> But how about specifying an exclusion refspec?  For instance, we want
> to fetch all heads (`*`) except `foo`, or all heads beginning in "ba"
> (`ba*`) except `bar`.

This has come up before, it's not currently possible, but I think
there's interest in having it implemented.

-- 
Cheers,

Sverre Rabbelier

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-03  1:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-02 22:17 Way to specify an exclusion refspec? Dun Peal
2010-12-03  1:20 ` Sverre Rabbelier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).