gr icon indicating copy to clipboard operation
gr copied to clipboard

Spaces not supported in repo names

Open zachberger opened this issue 10 years ago • 4 comments

Repo name: "Fuck RITs Emails"

~ » gr tag discover                                                  zach@zbmbp
Tags updated. Run `gr status` or `gr tag list` to see the current state.
------------------------------------------------------------
~ » gr status                                                        zach@zbmbp
~/Development/Fuck     Clean                     @Emails @RITs
exec error: Error: spawn ENOENT

zachberger avatar Dec 01 '14 04:12 zachberger

I ran into this as well, and just landed a fix in v.0.3.1. Let me know if that works for you, e.g. npm install -g git-run@latest to update to the latest version.

mixu avatar Dec 01 '14 08:12 mixu

I'm still having this problem, but thanks for the quick response!

Last login: Sun Nov 30 23:39:58 on ttys001
------------------------------------------------------------
~ » npm install git-run@latest                                       zach@zbmbp
[email protected] node_modules/git-run
├── [email protected]
└── [email protected] ([email protected])
------------------------------------------------------------
~ » gr tag discover                                                  zach@zbmbp
Tags updated. Run `gr status` or `gr tag list` to see the current state.
------------------------------------------------------------
~ » gr status                                                        zach@zbmbp
~/Development/Fuck     Clean                     @Emails @RITs
exec error: Error: spawn ENOENT
~/Library/Application  Clean                     @Support/Alcatraz/Plug-ins/ShowInGithub
exec error: Error: spawn ENOENT
------------------------------------------------------------
~ » gr list                                                          zach@zbmbp
~/Development/Fuck
~/Library/Application
------------------------------------------------------------

zachberger avatar Dec 01 '14 18:12 zachberger

Sorry, I missed the -g argument for npm install on my comment. Without it you won't update the globally installed version of gr. Can you try with npm install -g? gr --version shows the version you have installed BTW.

mixu avatar Dec 01 '14 22:12 mixu

Thanks, I ensured that gr was updated properly, and I still see the same problem.. Additionally my .grconfig seems to be completely broken too.. Might give up now..

~ » rm .grconfig.json                                                zach@zbmbp
------------------------------------------------------------
~ » gr tag discover                                                  zach@zbmbp
Tags updated. Run `gr status` or `gr tag list` to see the current state.
------------------------------------------------------------
~ » gr status                                                        zach@zbmbp
./ Clean                     
exec error: Error: Command failed: fatal: Not a git repository (or any of the parent directories): .git

stderr: fatal: Not a git repository (or any of the parent directories): .git

------------------------------------------------------------
~ » cat .grconfig.json                                               zach@zbmbp
{}%                                                                             
------------------------------------------------------------
~ » gr --version                                                     zach@zbmbp
0.3.1
------------------------------------------------------------
~ » gr tag list                                                      zach@zbmbp
------------------------------------------------------------
~ »                                                                  zach@zbmbp

zachberger avatar Dec 02 '14 00:12 zachberger