Closed carlfriedrich closed 2 years ago
The forgit::diff function aka gd does not support git move or rename actions. Minimal reproducible example:
forgit::diff
gd
mkdir myrepo cd myrepo git init echo "wow" > foo.txt git add foo.txt git commit -m "Commit 1" git mv foo.txt bar.txt echo "oh" > baz.txt git add baz.txt
Calling gd --staged on this repo shows the following:
gd --staged
Obviously the output of git diff --name-status is not correctly parsed.
git diff --name-status
@wfxr I made PR #189 to fix this. Please let me know if it can be merged.
Check list
Environment info
Problem / Steps to reproduce
The
forgit::diff
function akagd
does not support git move or rename actions. Minimal reproducible example:Calling
gd --staged
on this repo shows the following:Obviously the output of
git diff --name-status
is not correctly parsed.