Behaves oddly when GitHub username is set but token is not #35

Closed
rhunter opened this Issue Mar 23, 2011 · 0 comments

Comments

Projects
None yet
2 participants

rhunter commented Mar 23, 2011

Thanks for this tool; it looks useful.

I was trying out the gist tool and it took a while to get going -- it turns out my config had "github.user" but not "github.token".

Steps to reproduce:

$ git config --unset github.token
$ gist --help | gist
nil
$ git config --unset github.user
$ gist --help | gist
https://gist.github.com/882916

indirect closed this in 8a201bd Apr 10, 2011

@akahn akahn added a commit to akahn/gist that referenced this issue Apr 21, 2011

@akahn akahn Merge branch 'master' of https://github.com/indirect/gist
* 'master' of https://github.com/indirect/gist: (22 commits)
  Require user and token. Closes #35
  Version 2.0.2
  post_connection_check is the default nowadays
  Added the installation instructions for Ubuntu
  Fix encoding issue in standalone script
  Executable gist binary
  2.0.1
  update standalone
  apply -t fixes to the actual code
  Make the cert work for both standalone and the gem
  https
  fix -t when using stdin
  verify redirected URLs still match the cert
  Use the lib cert or standalone DATA cert as a fallback
  trailing whitespace is important here, unfortunately
  Update gist standalone's version number (doh)
  Small tweak to curl install instructions (http -> https)
  Update gemspec
  Bump to v2.0.0 because multi-file changed the data() API
  Document multi-file upload feature
  ...
b298de5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment