Go to file
Shawn O. Pearce c12c360f89 Pickle parsed git config files
We now cache the output of `git config --list` for each of our
GitConfig instances in a Python pickle file.  These can be read
back in using only the Python interpreter at a much faster rate
than we can fork+exec the git config process.

If the corresponding git config file has a newer modification
timestamp than the pickle file, we delete the pickle file and
regenerate it.  This ensures that any edits made by the user
will be taken into account the next time we consult the file.

This reduces the time for a no-op repo sync from 0.847s to 0.269s.

Signed-off-by: Shawn O. Pearce <sop@google.com>
2009-04-17 21:03:45 -07:00
docs Add a 'repo manifest' command whose help is the manifest file format 2009-03-04 14:26:50 -08:00
hooks Install a default pre-auto-gc hook in all repositories 2008-11-03 11:00:44 -08:00
subcmds Only compute commits in repo upload if we need to show a prompt 2009-04-17 20:54:39 -07:00
.gitignore Initial Contribution 2008-10-21 07:00:00 -07:00
color.py Change repo sync to be more friendly when updating the tree 2009-04-16 11:21:18 -07:00
command.py Don't permit users to run repo status in a mirror client 2009-03-03 17:47:06 -08:00
COPYING Initial Contribution 2008-10-21 07:00:00 -07:00
editor.py Make repo's editor work when the editor is a commandline with 2008-11-14 21:12:44 -05:00
error.py Report better errors when a project revision is invalid 2009-03-02 12:56:08 -08:00
git_command.py Initial Contribution 2008-10-21 07:00:00 -07:00
git_config.py Pickle parsed git config files 2009-04-17 21:03:45 -07:00
git_refs.py Improve repo sync performance by avoid git forks 2009-04-17 21:03:45 -07:00
main.py Add global --trace command line option 2009-03-09 18:26:31 -07:00
manifest.py Add repo manifest -o to save a manifest 2009-03-05 10:32:38 -08:00
pager.py Don't start the pager if stdout is a pipe 2009-04-01 07:24:22 -07:00
progress.py Don't divide by zero in progress meter 2009-04-16 08:05:05 -07:00
project.py Improve repo sync performance by avoid git forks 2009-04-17 21:03:45 -07:00
remote.py Add <remote project-name="..."> attribute within projects 2008-11-06 11:23:06 -08:00
repo Correct the REPO_URL in the wrapper script to android.git.kernel.org 2008-12-18 07:21:32 -08:00