Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In some cases, `git grep` will customize the foreground-color for more than just the subset of the line that matches the grep pattern. This breaks the current match-detection behavior, which considers any characters with a non-default "foreground color" within the "code" part of a git-grep-ouput-line to be part of the match. This commit makes match-detection check for boldness instead of foreground-color. git grep matches are bolded by default, but they probably aren't the _only_ thing git grep uses bold text for. So there may still be cases where the highlighting looks wrong here.
- Loading branch information