accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-4540) '_devtools/git-hooks/post-commit' does not fail gracefully on missing the local branch 'asf-site'
Date Thu, 22 Dec 2016 01:52:58 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-4540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15768733#comment-15768733
] 

Josh Elser commented on ACCUMULO-4540:
--------------------------------------

bq. How about: "fatal: asf-site is not a branch; this script can only update branches named
asf-site (try: git checkout -t origin/asf-site)" ?

+1

> '_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)

Mime
View raw message