diff options
author | Jakub Narebski <jnareb@gmail.com> | 2006-09-15 03:43:28 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-14 22:41:13 -0700 |
commit | c83a77e4e139303a8a830b2ba7802bed0b8fe9d9 (patch) | |
tree | cb081baa69fdd1df2160da861ef8af492c8acab0 /t/t2000-checkout-cache-clash.sh | |
parent | gitweb: Use File::Find::find in git_get_projects_list (diff) | |
download | tgif-c83a77e4e139303a8a830b2ba7802bed0b8fe9d9.tar.xz |
gitweb: Do not parse refs by hand, use git-peek-remote instead
This is in response to Linus's work on packed refs. Additionally it
makes gitweb work with symrefs, too.
Do not parse refs by hand, using File::Find and reading individual
heads to get hash of reference, but use git-peek-remote output
instead. Assume that the hash for deref (with ^{}) always follows hash
for ref, and that we have derefs only for tag objects; this removes
call to git_get_type (and git-cat-file -t invocation) for tags, which
speeds "summary" and "tags" views generation, but might slow generation
of "heads" view a bit. For now, we do not save and use the deref hash.
Remove git_get_hash_by_ref while at it, as git_get_refs_list was the
only place it was used.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t2000-checkout-cache-clash.sh')
0 files changed, 0 insertions, 0 deletions