diff options
author | Junio C Hamano <junkio@cox.net> | 2006-12-17 17:57:19 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-17 17:57:19 -0800 |
commit | ed9f7c954c26ec6d517bdca3d8e4b895278d1b2b (patch) | |
tree | 4bb8f0ddd83046127d3e984665329f17e0a8dafc /blob.h | |
parent | ee6002aa429272871733b8fbc99a9e6df3e150f5 (diff) | |
download | git-ed9f7c954c26ec6d517bdca3d8e4b895278d1b2b.tar.gz |
git-fetch: Avoid reading packed refs over and over again
When checking which tags to fetch, the old code used to call
git-show-ref --verify for each remote tag. Since reading even
packed refs is not a cheap operation when there are a lot of
local refs, the code became quite slow.
This fixes it by teaching git-show-ref to filter out existing
refs using a new mode of operation of git-show-ref.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'blob.h')
0 files changed, 0 insertions, 0 deletions