[
https://issues.apache.org/jira/browse/ACCUMULO-4540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15765375#comment-15765375
]
Christopher Tubbs commented on ACCUMULO-4540:
---------------------------------------------
Checking out the branch doesn't guarantee automatic site generation. You also
have to make this a post-commit hook. So any message talking about automation
is incorrect if the user manually executes the script.
> '_devtools/git-hooks/post-commit' does not fail gracefully on missing the
> local branch 'asf-site'
> -------------------------------------------------------------------------------------------------
>
> Key: ACCUMULO-4540
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4540
> Project: Accumulo
> Issue Type: Bug
> Components: website
> Reporter: Josh Elser
> Assignee: Christopher Tubbs
> Priority: Trivial
>
> I did a fresh clone of the accumulo-website.git repository and copied the
> post-commit hook into {{.git/hooks}}. Upon making my first commit, it failed:
> {{fatal: asf-site is not a branch}}
> Would be nice if we caught it when asf-site doesn't exist locally and give a
> better error message.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)