mhinz / mhinz/vim-signify

Error detected while processing BufRead Autocommands for "*"..function sy#start[37]..sy#repo#detect[5]..sy#repo#get_diff:

Open
#416 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
2.7k
Forks
113
PR merge metrics
No merged PRs in 30d

Description

During the plug-in initialization the following errors appear in the VIM (9.1, Included patches: 1-16, 647, 678, 697) log file:

``` syslog
continuing in sy#start
[sy:git] sy#repo#get_diff()
Error detected while processing BufRead Autocommands for "*"..function sy#start[37]..sy#repo#detect[5]..sy#repo#get_diff:
line 27:
E475: Invalid argument:
[sy:svn] sy#repo#get_diff()
Error detected while processing BufRead Autocommands for "*"..function sy#start[37]..sy#repo#detect[5]..sy#repo#get_diff:
line 27:
E475: Invalid argument:
[sy:cvs] sy#repo#get_diff()
Error detected while processing BufRead Autocommands for "*"..function sy#start[37]..sy#repo#detect[5]..sy#repo#get_diff:
line 27:
E475: Invalid argument:
Executing BufRead Autocommands for "*"
autocommand if exists('b:git_dir') && b:git_dir =~# '^$\|' . s:bad_git_dir | unlet b:git_dir | endif
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the initialization in Vim 9.1 and follow the BufRead autocommand into sy#start, sy#repo#detect, and sy#repo#get_diff. Compare the git, svn, and cvs paths around the reported line 27; done means initialization completes without E475 errors in the Vim log.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.