yea, weird. do you know how to get curl to handle this right?


On Wed, Mar 19, 2014 at 11:47 AM, Yoshiki Vázquez Baeza <
notifications@github.com> wrote:

> In CONTRIBUTING.md:
>
> > +
> > +But, it is frustrating to submit code only to have it shot down due to PEP8
> > +errors. What we'd really like to do is check for errors prior even issuing
> > +a pull request. Luckily, git provides mechanisms to automatically execute
> > +arbitrary scripts prior to commit.
> > +
> > +### Setting up pre-commit hooks
> > +
> > +First, we need to setup a place for your hooks to live under your favorite
> > +repository:
> > +
> > +    $ mkdir -p $HOME/scikit-bio/.git/hooks
> > +
> > +Finally, we need to get the actual pre-commit script:
> > +
> > +    $ curl -o $HOME/scikit-bio/.git/hooks/pre-commit http://goo.gl/nQ1KVz
>
> Running this got me the following output:
>
> <HTML>
> <HEAD>
> <TITLE>Moved Permanently</TITLE>
> </HEAD>
> <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
> <H1>Moved Permanently</H1>
> The document has moved <A HREF="https://gist.githubusercontent.com/wasade/9611804/raw/d49a9738ed1fdb48b74a0e761b043c0729482af4/pre-commit">here</A>.
> </BODY>
> </HTML>
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/biocore/scikit-bio/pull/197/files#r10761576>
> .
>