Go to file
Shawn O. Pearce f0d4c36701 grep: Only use --color on git 1.6.3 and later
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>
2009-06-12 09:33:48 -07:00
docs Remove support for the extra <remote> definitions in manifests 2009-05-19 13:01:52 -07:00
hooks Install a default pre-auto-gc hook in all repositories 2008-11-03 11:00:44 -08:00
subcmds grep: Only use --color on git 1.6.3 and later 2009-06-12 09:33:48 -07:00
.gitignore Initial Contribution 2008-10-21 07:00:00 -07:00
.project Add PyDev project files to repo 2009-06-02 00:09:07 +02:00
.pydevproject Add PyDev project files to repo 2009-06-02 00:09:07 +02:00
color.py Add -p to repo forall to improve output formatting 2009-04-18 13:49:13 -07:00
command.py Add -p to repo forall to improve output formatting 2009-04-18 13:49:13 -07:00
COPYING Initial Contribution 2008-10-21 07:00:00 -07:00
editor.py Fix launching of editor under 'repo upload --replace' 2009-04-18 16:57:46 -07:00
error.py Report better errors when a project revision is invalid 2009-03-02 12:56:08 -08:00
git_command.py Refactor git version detection for reuse 2009-06-12 09:32:50 -07:00
git_config.py Ignore EOFError when reading a truncated pickle file 2009-06-12 09:10:07 -07:00
git_refs.py Make usage of open safer by setting binary mode and closing fds 2009-04-18 14:48:03 -07:00
git_ssh Automatically use SSH control master support during sync 2009-04-18 16:50:47 -07:00
main.py Refactor Manifest to be XmlManifest 2009-05-29 09:31:28 -07:00
manifest_xml.py Change project.revision to revisionExpr and revisionId 2009-05-29 18:45:20 -07:00
pager.py Don't start the pager if stdout is a pipe 2009-04-01 07:24:22 -07:00
progress.py Only display a progress meter once we spend 0.5 seconds on a task 2009-04-18 10:09:16 -07:00
project.py Silence 'Current branch %s is up to date' during sync 2009-06-03 11:09:31 -07:00
repo Refactor Manifest to be XmlManifest 2009-05-29 09:31:28 -07:00
trace.py Fix repo --trace to show ref and config loads 2009-04-18 09:54:51 -07:00