Subject: | Error with running `git add -p` |
I'm getting a new error when trying to run `git add -p`
Git version 0.41
git version 2.13.5
$ git add -p
"unquote_path" is not exported by the Git module
Can't continue after import errors at /usr/libexec/git-core/git-add--interactive line 7.
BEGIN failed--compilation aborted at /usr/libexec/git-core/git-add--interactive line 7.
I saw that the following commit (from 2017-06-30) moved `unquote_path()` from `git-add--interactive.perl` into `perl/Git.pm`
https://github.com/git/git/commit/1d542a5487f788874f18cca0d23b7b680fa04119#diff-378a9f0ccc59a180b3b9c9614cd63191
I'm installing git from my distro's yum repo, and now `git-add--interactive.perl` is attempting a `use Git qw(unquote_path);` which fails.
I think a new version of Git, incorperating those changes would fix my issue. I don't know it it would break things for people with older installs of the git binary itself.