nonsequitur / git-gutter-plus

147 stars 18 forks source link

git-gutter-plus doesn't handle symlinks properly. #1

Closed dhaley closed 11 years ago

dhaley commented 11 years ago

Hi, I get the error:

Debugger entered--Lisp error: (wrong-number-of-arguments nil 0)

After enabling global-git-gutter+-mode in a project directory that has symlinks.

Here is the backtrace:

https://gist.github.com/dhaley/6064668

Let me know if I can provide more information to help resolve this issue.

nonsequitur commented 11 years ago

I couldn't reproduce your error when using Git-Gutter with symlinked files.

Could you try to build a minimal repo that triggers the error?

Or could you give some more details on what steps lead to the error? Did you just open a file via a symlink ("bootstrap.inc")?

swsnr commented 11 years ago

@nonsequitur Happens for me, too. To reproduce, create a symlink to a directory containing a git repository ln -s /path/to/some/git/repo /link/to/the/git/repo, and then in Emacs open a file in the symlinked directory, i.e. C-x C-f /link/to/the/git/repo/a/file.

nonsequitur commented 11 years ago

Danke, Sebastian. :smiley_cat:

swsnr commented 11 years ago

Bitte, gerne :)