2

I'm using emacs on Windows and this is long bothered me. All other apps correctly ignore all listed in global .gitignore, but in emacs they are untracked/unregistered and pollute the status window.

1
  • 1
    I just tested both vc-dir and magit. I had an unregistered file which was shown as such in both interfaces, then I added it to ~/.config/git/ignore, and both vc-dir and magit saw it as "ignored". IOW : I can't reproduce on emacs (from git master branch) and the latest magit release (I'm on GNU/Linux).
    – YoungFrog
    Jul 21, 2015 at 7:56

1 Answer 1

2

It turned out Emacs's HOME and Git's were different. I've added the HOME environment variable and moved my .emacs there. All works fine now. Thanks @YoungFrog, you made me think about my HOME.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.