accumulo-notifications mailing list archives

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


Josh Elser commented on ACCUMULO-4540:

Oh, good call. I just did a sub-par grep. :)

bq. how does the following sound: "fatal: asf-site is not a branch; will not update it with
the latest commit"?

That's an improvement, but I would include somethign to effect of "checkout the branch asf-site
to get automatic updating". Props for actual command to run :)

> '_devtools/git-hooks/post-commit' does not fail gracefully on missing the local branch
> -------------------------------------------------------------------------------------------------
>                 Key: ACCUMULO-4540
>                 URL:
>             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

This message was sent by Atlassian JIRA

View raw message