Skip Menu |

This queue is for tickets about the Git CPAN distribution.

Report information
The Basics
Id: 122952
Status: resolved
Priority: 0/
Queue: Git

People
Owner: Nobody in particular
Requestors: DAVEWEBB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.41
Fixed in: 0.42



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.
On Sun Sep 03 23:33:21 2017, DAVEWEBB wrote: Show quoted text
> $ 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. >
Same issue here: ➔ git --version git version 2.13.5 ➔ perlversion Git [Git] 0.41 ➔ 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.
Can you try with M/MS/MSOUTH/Git-0.42.tar.gz (or attached if it's not on your mirror yet) Just uploaded it--I think it should solve the problem, I would appreciate it if you could try it. On Sun Sep 03 18:33:21 2017, DAVEWEBB wrote: Show quoted text
> 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.
Subject: Git-0.42.tar.gz
Download Git-0.42.tar.gz
application/x-gzip 78k

Message body not shown because it is not plain text.

Sorry for the delay replying. Version 0.42 of Git works for `git add -p`. Thanks for your help. On Mon Oct 09 20:48:59 2017, MSOUTH wrote: Show quoted text
> Can you try with M/MS/MSOUTH/Git-0.42.tar.gz (or attached if it's not > on your mirror yet) > > Just uploaded it--I think it should solve the problem, I would > appreciate it if you could try it. > > On Sun Sep 03 18:33:21 2017, DAVEWEBB wrote:
> > 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.
Thanks for confirming! And thanks for the report as well. On Tue Oct 31 16:22:30 2017, DAVEWEBB wrote: Show quoted text
> Sorry for the delay replying. > > Version 0.42 of Git works for `git add -p`. > > Thanks for your help. > > On Mon Oct 09 20:48:59 2017, MSOUTH wrote:
> > Can you try with M/MS/MSOUTH/Git-0.42.tar.gz (or attached if it's not > > on your mirror yet) > > > > Just uploaded it--I think it should solve the problem, I would > > appreciate it if you could try it. > > > > On Sun Sep 03 18:33:21 2017, DAVEWEBB wrote:
> > > 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.