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 /builtin-checkout-index.c | |
parent | markup fix in svnimport documentation. (diff) | |
download | tgif-ed9f7c954c26ec6d517bdca3d8e4b895278d1b2b.tar.xz |
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 'builtin-checkout-index.c')
0 files changed, 0 insertions, 0 deletions