From: Junio C Hamano Date: Thu, 07 Sep 2006 09:02:06 GMT Subject: Re: [PATCH 1/7] gitweb: Make pickaxe search a feature Message-ID: <7vmz9c2goh.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Jakub Narebski writes: > Junio C Hamano wrote: > >> Jakub Narebski writes: >> >>> As pickaxe search (selected using undocumented 'pickaxe:' operator in >>> search query) is resource consuming, allow to turn it on/off using >>> feature meachanism. >> >> I do not have a problem against making it configurable. >> >>> + 'pickaxe' => { >>> + 'sub' => \&feature_pickaxe, >>> + 'override' => 0, >>> + 'default' => [0]}, >>> ); >> >> The patch suggests that it is turned off by default right now; I >> have not checked it myself, but is that the case? > > No, it is not. Currently it is turned on, _but_ undocumented. Then it would be nice to make it documented and keep the default perhaps?