Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing hugo #1

Closed
jjallaire opened this issue Nov 7, 2016 · 2 comments
Closed

Error installing hugo #1

jjallaire opened this issue Nov 7, 2016 · 2 comments
Milestone

Comments

@jjallaire
Copy link
Member

I get the following error when executing the install_hugo function:

> blogdown::install_hugo()
error: unknown option `sort=-version:refname'
usage: git tag [-a|-s|-u <key-id>] [-f] [-m <msg>|-F <file>] <tagname> [<head>]
   or: git tag -d <tagname>...
   or: git tag -l [-n[<num>]] [--contains <commit>] [--points-at <object>] 
		[<pattern>...]
   or: git tag -v <tagname>...

    -l, --list            list tag names
    -n[<n>]               print <n> lines of each tag message
    -d, --delete          delete tags
    -v, --verify          verify tags

Tag creation options
    -a, --annotate        annotated tag, needs a message
    -m, --message <message>
                          tag message
    -F, --file <file>     read message from file
    -s, --sign            annotated and GPG-signed tag
    --cleanup <mode>      how to strip spaces and #comments from message
    -u, --local-user <key id>
                          use another key to sign the tag
    -f, --force           replace the tag if exists
    --column[=<style>]    show tag list in columns

Tag listing options
    --contains <commit>   print only tags that contain the commit
    --points-at <object>  print only tags of the object

Note that I am on OS X Mavericks on this machine which could have a version of git that's too old:

> system("git --version")
git version 1.9.5 (Apple Git-50.3)
@yihui yihui closed this as completed in e3530b2 Nov 7, 2016
@yihui
Copy link
Member

yihui commented Nov 7, 2016

I think you are right: http://discourse.brew.sh/t/brew-update-error/126/3 It seems the issue was fixed a month ago, but perhaps Homebrew needs to be reinstalled. I just updated the install script to try to reinstall Homebrew if brew install hugo fails. Reinstalling Homebrew can take a while (about 1 minute). I don't have an old version of git to test, so it will be great if you can test it (devtools::install_github('rstudio/blogdown')). Thanks!

@jjallaire
Copy link
Member Author

Got it working now. Thanks!

On Mon, Nov 7, 2016 at 5:27 PM, Yihui Xie notifications@github.com wrote:

I think you are right: http://discourse.brew.sh/t/brew-update-error/126/3
It seems the issue was fixed a month ago, but perhaps Homebrew needs to be
reinstalled. I just updated the install script to try to reinstall Homebrew
if brew install hugo fails. Reinstalling Homebrew can take a while (about
1 minute). I don't have an old version of git to test, so it will be great
if you can test it (devtools::install_github('rstudio/blogdown')). Thanks!


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAGXxze5iyWooq7e-9mIPuoOEvxC7JMnks5q76XlgaJpZM4Krr37
.

@yihui yihui modified the milestone: v0.1 Nov 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants