From: Brandon Chinn Date: Tue, 21 Apr 2026 05:03:56 GMT Subject: git grep bug with --column and --only-matching Message-ID: I'm encountering a bug when using `git grep` with both `--column` and `--only-matching`, is this a known limitation? Repro: ``` $ echo 'x x x' > repro.txt $ grep -bo x repro.txt 0:x 4:x 8:x $ git grep --no-index -o -n --column x repro.txt repro.txt:1: 1:x repro.txt:1: 2:x repro.txt:1: 6:x ``` [System Info] git version: git version 2.51.1 cpu: arm64 no commit associated with this build sizeof-long: 8 sizeof-size_t: 8 shell-path: /bin/sh feature: fsmonitor--daemon libcurl: 8.7.1 zlib: 1.2.12 SHA-1: SHA1_DC SHA-256: SHA256_BLK default-ref-format: files default-hash: sha1 uname: Darwin 25.3.0 Darwin Kernel Version 25.3.0: Wed Jan 28 20:56:34 PST 2026; root:xnu-12377.91.3~2/RELEASE_ARM64_T8112 arm64 compiler info: clang: 17.0.0 (clang-1700.0.13.3) libc info: no libc information available $SHELL (typically, interactive shell): /bin/zsh