Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH] Add a post-tag hook

From: Pat Notz <hidden>
Date: 2016-06-15 22:46:39

On Fri, Apr 17, 2009 at 4:28 PM, Ammon Riley [off-list ref] wrote:
On Fri, Apr 17, 2009 at 3:19 PM, Shawn O. Pearce [off-list ref] wrote:
quoted
Ammon Riley [off-list ref] wrote:
quoted
Add a post-tag hook, to allow notifications when a tag is created.
The hook is given the name of the newly created tag.
Why would you want to send notifications upon creating a tag in
your local repository?

Usually a tag is only interesting when it has been sent to a shared
public repository, which is by git push, and thus is caught by a
git receive-pack hook like post-update or post-receive.
On the particular project I'm working on, we're not really using git
in the most distributed fashion -- it's completely internal to the
company. In our case, the tags are being created directly on
the shared repository, rather than on a local repository and being
pushed.
Today, this same situation came up in my organization.  It seem like a
natural partner of the post-commit hook.
Cheers,
Ammon
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help