On Sep 9, 2009, at 3:22 AM, Pieter de Bie wrote:
Yeah, the search can be a bit annoying. I think someone was working on
a patch to search all three options by default.
That would have been me...
All that needs to be changed is some settings in PBGitHistoryView.xib.
Since xib files are a PITA to merge and I know others have been
working on them, maybe a textual description of what changes are
needed may be better:
- Open PBGitHistoryView.xib
- Open the Inspector, bindings tab
- Double-click "History Toolbar"
- Click the search field until the inspector displays "Search Field
Cell Bindings"
- Copy the setting from Predicate3 to the (new) Predicate4
- Copy the setting from Predicate2 to Predicate3
- Copy the setting from Predicate1 to Predicate2
- Change Predicate1 "Display Name" to "Subject, Author, SHA"
- Change Predicate1 "Predicate Format" to:
subject contains[c] $value or author contains[c] $value or realSha
contains $value
That will make the search field default to searching in either
Subject, Author or SHA.
If you'd prefer a patch, please point me at the repository to use as a
base.
Thanks
Gerd