rohanpm / ngitcached

A caching git proxy
MIT License
36 stars 9 forks source link

Proxy runs one git rev-list process per client "want" #3

Open rohanpm opened 12 years ago

rohanpm commented 12 years ago

Currently the proxy uses "git rev-list --no-walk " to determine whether or not the cache contains a given SHA1.

This seems very inefficient, since it requires one process to be run per SHA1. There should be a more efficient way (a single process for the whole "want" section, ideally).