{
"id": "search/git-grep",
"family": "search",
"description": "Compact git grep output while preserving matches.",
"match": {
"toolNames": ["exec"],
"argv0": ["git"],
"argvIncludes": [["grep"]]
},
"transforms": {
"stripAnsi": true,
"dedupeAdjacent": true,
"trimEmptyEdges": true
},
"summarize": {
"head": 12,
"tail": 4
},
"failure": {
"preserveOnFailure": true,
"head": 16,
"tail": 10
},
"counters": [
{
"name": "match",
"pattern": ".+:.+"
}
]
}