On 2015-07-19, Jacob Keller wrote:
git describe will tell you if the commit you're passing it is
associated with an annotated tag. I do not understand who this
information can help you implement any policy, so understanding what
the policy you want is would be the most helpful.
One policy I
/majordomo-info.html
If you reply to this email, your message will be added to the discussion
below:
http://git.661346.n2.nabble.com/Git-tag-pre-receive-hook-issue-tp7635764p7635875.html
To unsubscribe from Git tag: pre-receive hook issue, click here.
NAML
On Mon, 2015-07-20 at 13:13 +0530, Gaurav Chhabra wrote:
Hi Jake,
Thanks about the refs/tags check. I’m aware about this. Junio also
explained it in one of his replies. I was actually confused why my
current code was working in past for few of the annotated tags.
Anyways, now that I have
On Sun, Jul 19, 2015 at 12:55 AM, Gaurav Chhabra
varuag.chha...@gmail.com wrote:
@Junio: So from your detailed explanation (and Jake's comment), i
understand that since my ref wasn't updated on remote so querying the
same using git describe resulted in failure, and hence, code was not
entering
message will be added to the discussion
below:
http://git.661346.n2.nabble.com/Git-tag-pre-receive-hook-issue-tp7635764p7635854.html
To unsubscribe from Git tag: pre-receive hook issue, click here.
NAML
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message
If you reply to this email, your message will be added to the discussion
below:
http://git.661346.n2.nabble.com/Git-tag-pre-receive-hook-issue-tp7635764p7635875.html
To unsubscribe from Git tag: pre-receive hook issue, click here.
NAML
--
To unsubscribe from this list: send the line
If you reply to this email, your message will be added to the discussion
below:
http://git.661346.n2.nabble.com/Git-tag-pre-receive-hook-issue-tp7635764p7635875.html
To unsubscribe from Git tag: pre-receive hook issue, click here.
NAML
--
To unsubscribe from this list: send
refs/tags/* as regular pre-receive
hook examples do.
Regards,
Jake
--
View this message in context:
http://git.661346.n2.nabble.com/Git-tag-pre-receive-hook-issue-tp7635764.html
Sent from the git mailing list archive at Nabble.com.
--
To unsubscribe from this list: send the line
Gaurav Chhabra varuag.chha...@gmail.com writes:
@Junio: From the example you gave, i could conclude the following:
1) : gitster garbage/master; git commit --allow-empty -m third
[master d1f1360] third
: gitster garbage/master; git describe --exact-match HEAD ;# third
fatal: no tag
On Sat, Jul 18, 2015 at 1:08 PM, Gaurav Chhabra
varuag.chha...@gmail.com wrote:
Thanks for the comments Junio/Jacob! Actually, the script was written
by someone before i came and the tag check was also done by my
colleague recently. I was also trying to implement the tag check
(using refs/tags
.n2.nabble.com/Git-tag-pre-receive-hook-issue-tp7635764.html
Sent from the git mailing list archive at Nabble.com.
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Garbageyard varuag.chha...@gmail.com writes:
We have a pre-receive hook that checks for JIRA ID whenever someone pushes
code to Git server. I'm trying to avoid this check when someone is applying
a tag. Here's the link for the script: http://pastebin.com/VnMQp5ar
This is the link for output:
.nabble.com/Git-tag-pre-receive-hook-issue-tp7635764.html
Sent from the git mailing list archive at Nabble.com.
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
13 matches
Mail list logo