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

"git id" and "git name" both give Ruby exceptions #64

Closed
palfrey opened this issue Dec 25, 2010 · 1 comment
Closed

"git id" and "git name" both give Ruby exceptions #64

palfrey opened this issue Dec 25, 2010 · 1 comment
Labels

Comments

@palfrey
Copy link

palfrey commented Dec 25, 2010

My ruby is a bit ropey, so I'm guessing these are special names in some way as I can't find the relevant function definitions, but here's what happened. "git id" I found by accident after having spent too much time dealing with Mercurial, and "git name" was an obvious idea after that, but there may be more like this...

palfrey@lambic:[~/bin/hub-upstream] git id
/home/palfrey/bin/hub-upstream/lib/hub/runner.rb:18:in id': wrong number of arguments (1 for 0) (ArgumentError) from /home/palfrey/bin/hub-upstream/lib/hub/runner.rb:18:insend'
from /home/palfrey/bin/hub-upstream/lib/hub/runner.rb:18:in initialize' from /home/palfrey/bin/hub-upstream/lib/hub/runner.rb:23:innew'
from /home/palfrey/bin/hub-upstream/lib/hub/runner.rb:23:in execute' from /home/palfrey/bin/hub-upstream/bin/hub:7 palfrey@lambic:[~/bin/hub-upstream] git name /home/palfrey/bin/hub-upstream/lib/hub/runner.rb:18:inname': wrong number of arguments (1 for 0) (ArgumentError)
from /home/palfrey/bin/hub-upstream/lib/hub/runner.rb:18:in send' from /home/palfrey/bin/hub-upstream/lib/hub/runner.rb:18:ininitialize'
from /home/palfrey/bin/hub-upstream/lib/hub/runner.rb:23:in new' from /home/palfrey/bin/hub-upstream/lib/hub/runner.rb:23:inexecute'
from /home/palfrey/bin/hub-upstream/bin/hub:7

@mislav
Copy link
Owner

mislav commented Dec 28, 2010

runner shouldn't think that all ruby methods are git commands

closed by af277fd

davidbalbert pushed a commit to davidbalbert/hub that referenced this issue May 9, 2011
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants