Re: add -i not able to find get_colorbool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 17, 2007 at 02:04:21PM +0000, Johannes Schindelin wrote:

> The second line of git-add--interactive reads thusly:
> 
> 	use lib (split(/:/, $ENV{GITPERLLIB} || 
> 		"/home/gitte/lib/perl5/site_perl/5.8.8"));
> 
> and this puzzles me:
> 
> 	$ grep -n get_colorbool /home/gitte/lib/perl5/site_perl/5.8.8/Git.pm
> 	584:=item get_colorbool ( NAME )
> 	591:sub get_colorbool {
> 
> So it has it, but cannot locate get_colorbool?

That does seem odd. Can you try running git-add--interactive in the perl
debugger and doing this:

  x \&Git::get_colorbool
  x \&Git::repository

It should tell you where it is getting the functions from (in the first
case, it will presumably not find it at all, but you seem to have a
Git::repository, so it should point to the file that has been loaded).

-Peff
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux