jreybert / vimagit

Ease your git workflow within Vim
1.31k stars 49 forks source link

User-configured diff.noprefix breaks stage / unstage #176

Closed wwade closed 5 years ago

wwade commented 5 years ago

Short description of the problem

When diff.noprefix is enabled (e.g. git config --local diff.noprefix True), stage / unstage fails to apply.

Error output: vimagit-error.txt

Steps to reproduce

  1. Enable diff.noprefix: git config --local diff.noprefix True.
  2. Using magit, attempt to stage a change.

Environment

jreybert commented 5 years ago

Fixed, thanks