Re: Getting pickaxe to perform looser matches, or regex matching

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

 



On Thu, Jun 7, 2012 at 1:58 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Like more expensive -G that was recently added?

Yay! That does what I wanted, though the manpage relies on subtle
wording to convey it. You have to read -S and -G twice and think about
it. It would be much better to say something like "If -S isn't finding
what you need, try -G and you shall find it" -- AFAICT it is true for
the common cases.

gitk doesn't seem to know how to use it. Attached is a trivial patch
(apologies about attaching it, in lieu of proper list style). Simple,
and works for me.

While I am not learned in gitk internal structure, it seems complete.
My only doubt is whether any additional work is needed under set
known_view_options {}. I cannot quite fathom that part of gitk. Review
welcome.

cheers,



m
-- 
 martin.langhoff@xxxxxxxxx
 martin@xxxxxxxxxx -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff

Attachment: 0001-gitk-add-support-for-G-regex-pickaxe-variant.patch
Description: Binary data


[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]