From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff King Subject: Re: How to create tags outside of refs/tags? Date: Tue, 22 Feb 2011 10:27:23 -0500 Message-ID: <20110222152723.GA23353@sigill.intra.peff.net> References: <20110222080305.GA11177@sigill.intra.peff.net> <7vvd0cebi6.fsf@alter.siamese.dyndns.org> <20110222081458.GA11825@sigill.intra.peff.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: Junio C Hamano , Christian Halstrick , git To: Jakub Narebski X-From: git-owner@vger.kernel.org Tue Feb 22 16:27:37 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pru9I-00036P-3W for gcvg-git-2@lo.gmane.org; Tue, 22 Feb 2011 16:27:36 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754083Ab1BVP1b (ORCPT ); Tue, 22 Feb 2011 10:27:31 -0500 Received: from xen6.gtisc.gatech.edu ([143.215.130.70]:47547 "EHLO peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753543Ab1BVP1b (ORCPT ); Tue, 22 Feb 2011 10:27:31 -0500 Received: (qmail 2009 invoked by uid 111); 22 Feb 2011 15:27:30 -0000 Received: from 99-108-226-0.lightspeed.iplsin.sbcglobal.net (HELO sigill.intra.peff.net) (99.108.226.0) (smtp-auth username relayok, mechanism cram-md5) by peff.net (qpsmtpd/0.40) with ESMTPA; Tue, 22 Feb 2011 15:27:30 +0000 Received: by sigill.intra.peff.net (sSMTP sendmail emulation); Tue, 22 Feb 2011 10:27:23 -0500 Content-Disposition: inline In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Tue, Feb 22, 2011 at 02:09:14AM -0800, Jakub Narebski wrote: > > I think changing the config name to tag.list-ignore would make it more > > obvious what is going on. If you don't want to push certain tags, I > > think refspecs are the way to do that, and this should be a purely local > > display thing. > > You meant `tag.listIgnore`, weren't you? No hyphens in config > variable names. Sure. > About refspecs: we currently do not support negative refspecs, do we? > (IIRC there was proposal to use '!' or '-' as prefix for them). So we > can't currently exclude refs/tags/private/* while including > refs/tags/v*? Yeah, I think you might be stuck enumerating the tags you want via refspec. But I stand by my statement; if this feature is something we want, it should be purely about listing tags. I don't want to get into weird tag-specific config affecting the what we push. If somebody wants negative refspecs, that can be a separate patch. But like I said before, I am lukewarm on the patch in the first place. -Peff