mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-02-22 02:06:11 +00:00
The --color flag wasn't introduced until git 1.6.3. Prior to that version, `git grep --color` just produces a fatal error, as it is an unsupported option. Since this is just pretty output and is not critical to execution, we can simply omit the option if the version of git we are running on doesn't support it. Signed-off-by: Shawn O. Pearce <sop@google.com>
Description
Languages
Python
99.1%
Shell
0.9%