I have used the emacs debugger to trace down the problem to the command:
magit-shell-command-to-string("'git' '--no-pager' rev-parse --git-dir
2>/dev/null")
returning an empty string: ""
digging deeper using the debugger I found a call to:
find-file-name-handler("/Users/gdelfino/Sites/mywebapp/" process-file)
which is returning nil and I don't know why as the directory exists.
Any ideas?
Regards,
Gustavo Delfino
On Apr 12, 2009, at 9:08 AM, gdelfino wrote:
Hello all. I am new in this list.
I have installed magit 0.7 using ELPA into Carbon Emacs 22.3.1.
Whenever I try to use the magit-status command, I get asked to find
the git repository. I get asked to find this even when I run the
magit-
status command while editing a file inside a git repository. After
answering the question with the directory where my .git directory is
located it then says:
"There is no Git repository in "my directory". Create one? (y or n)"
Which I answer "no" because I don't want to damage the existing .git
directory.
I am using git version git version 1.6.1.3
Any ideas on how to make it work?
Regards,
Gustavo Delfino