summaryrefslogtreecommitdiff
path: root/object.h
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder@ira.uka.de>2008-09-20 00:15:25 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-09-19 19:47:48 -0700
commit05e8b3d6f43bd28aef85ec6e7658536510d6f959 (patch)
tree51a0deecd20d2b29aecbd49e71819ef0ebe87d52 /object.h
parentMerge branch 'maint' (diff)
downloadtgif-05e8b3d6f43bd28aef85ec6e7658536510d6f959.tar.xz
bash: use for-each-ref format 'refname:short'
Using this format simplifies the code for completing refs and (in some cases) improves performance significantly. For repositories like the current git.git (with more than 200 refs) there is no real performance difference, but for a repository with 2000 refs the total time needed to complete the refs is reduced by ~25% (from around 400ms to around 305ms). Signed-off-by: SZEDER Gábor <szeder@ira.uka.de> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object.h')
0 files changed, 0 insertions, 0 deletions