git/list[1] front-page[2] threads[3] people[4] search[5] about
 

add -i not able to find get_colorbool

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 17, 2007, 14:04 UTC
Message-ID
<Pine.LNX.4.64.0712171400250.9446@racer.site>
Hi,

I did not use "git add -i" in something like two weeks, and now it stopped working:

	$ git add -i
	Can't locate object method "get_colorbool" via package "Git" at 
		/home/gitte/bin/git-add--interactive line 15.
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?

Help, Dscho

Next: Jeff King
Message 1 of 3 in “add -i not able to find get_colorbool”
  1. Johannes SchindelinDec 17, 2007
  2. Jeff KingDec 17, 2007
  3. Johannes SchindelinDec 17, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.