X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=builtin%2Fgrep.c;h=597f76bc42f51e0fc1906c287981e3d37dc0f536;hb=745654f82a3ea02b15c59991d4461090a00b5645;hp=232cd1ce07bf3f695c722e6217ce653ff704d64b;hpb=54ed6a98fda3765a6ffcac870f79528a48b4c07f;p=git.git diff --git a/builtin/grep.c b/builtin/grep.c index 232cd1ce0..597f76bc4 100644 --- a/builtin/grep.c +++ b/builtin/grep.c @@ -1001,6 +1001,7 @@ int cmd_grep(int argc, const char **argv, const char *prefix) if (show_in_pager == default_pager) show_in_pager = git_pager(1); if (show_in_pager) { + opt.color = 0; opt.name_only = 1; opt.null_following_name = 1; opt.output_priv = &path_list;