refactor: remove unused state for commit search
Created by: rvantonder
Stacked on #7540.
Removes the unused state in CommitPatternInfo
. Note that the way I set this up, the compiler will complain if I removed anything that is used, so this is quite safe.