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

magit does not works #2238

Closed
zekzekus opened this issue Jul 5, 2015 · 5 comments
Closed

magit does not works #2238

zekzekus opened this issue Jul 5, 2015 · 5 comments

Comments

@zekzekus
Copy link

zekzekus commented Jul 5, 2015

at some point my magit stopped working. when i execute magit-status returning message is wring type of argument: arrayp, nil

i completely wiped out my spacemacs installation and the result is same.

NOTE: when i execute magit-log-all on a version controlled file it says that not in a git repository.

Second NOTE: i outputs that arrayp error while installing the magit package within git layer

@robbyoconnor
Copy link
Contributor

Is this against master or develop? Try develop if it's master

@zekzekus
Copy link
Author

zekzekus commented Jul 5, 2015

i tried with develop branch. summary: i checked out to develop branch and run spacemacs then update packages and tried again.

at first there was no arrayp error but magit was asking to init a new repository via helm-magit-status . then i restarted emacs and the old arrayp error returned.

now i made a fresh install with develop branch and... again arrayp error.

now i am checking my git version from inside emacs: 1.8.1.3 aha! pretty old. probably mac os x's system git. let's add /usr/local/bin/ to exec path then... no. i could not make this work.

and i used the variable called magit-git-executable to set my homebrewed git executable for magit. it worked like a charm.

still ! -> git --version shows old git but at least magit is working. any way to show emacs (emacs-mac on mac os) the latest and greatest git version?

NOTE: i am sorry for the monologue :)

@sashkachan
Copy link

Brew installs executables to /usr/local/bin
These are the steps I would take to troubleshoot.
Make sure you do brew upgrade , or brew remove git && brew install git
Your path should be /usr/local/bin:$PATH

Then, if you still have issues, remove custom configuration from spacemacs and run it only with git layer.

@robbyoconnor
Copy link
Contributor

git and version-control

@StreakyCobra
Copy link
Contributor

@zekzekus Is your problem solved, or do you need more help on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants