git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Ericsson <exon@op5.com>
To: layer <layer@known.net>
Cc: git@vger.kernel.org
Subject: Re: How can I tell if a tag has been pushed, or not?
Date: Sat, 11 Jul 2009 15:44:53 +0200	[thread overview]
Message-ID: <4A589755.2020600@op5.com> (raw)
In-Reply-To: <14563.1247247807@relay.known.net>

layer wrote:
> Here's the problem:
> 
> I expect that users, in their own private repos, will from time to
> time create tags that should not be pushed.  Sometimes, tags that
> should be pushed will be created.
> 
> I could require that the "public" tags follow a specific convention
> (start with "release", or something).  Then, the scripts all my
> developers use could use that and push only certain tags.  However,
> over time there could be a large number of them.  It seems undesirable
> to push each tag each time a push is done.  So, how can I tell if a
> tag has already been pushed?  Is there a way?
> 

At $dayjob we only allow annotated tags to be pushed. The default
update hook works like a charm for that. All private tags are kept
un-annotated and can therefore never be pushed by accident.

/Andreas

      parent reply	other threads:[~2009-07-11 13:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-10 17:43 How can I tell if a tag has been pushed, or not? layer
2009-07-10 19:28 ` Alex Riesen
2009-07-10 20:02   ` layer
2009-07-11 13:44 ` Andreas Ericsson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A589755.2020600@op5.com \
    --to=exon@op5.com \
    --cc=git@vger.kernel.org \
    --cc=layer@known.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).