Hi Joey, that's actually a feature, not a bug. There is the --global
option in 'hub setup' too, it's mimicking git config. The idea was to do
it in a way that is familiar to how git actually works, which is usually
to do stuff in the "gitdir" unless you use --global/--system.

This is all documented (in the CLI help and the man page), although
apparently is not as intuitive as I wanted it to be. An option would be
to use some heuristic to make 'hub setup' pass --global if a "gitdir" is
not found, but I generally don't like to outsmart the user.

BTW, if you still think this needs changing/improving, would you care to
open an issue upstream?
https://github.com/sociomantic/git-hub

Thank you!

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
I always get the feeling that when lesbians look at me, they're thinking,
'*That's* why I'm not a heterosexual.'
        -- George Constanza

Reply via email to