diff options
author | SZEDER Gábor <szeder@ira.uka.de> | 2008-09-20 00:15:25 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-09-19 19:47:48 -0700 |
commit | 05e8b3d6f43bd28aef85ec6e7658536510d6f959 (patch) | |
tree | 51a0deecd20d2b29aecbd49e71819ef0ebe87d52 /object.h | |
parent | Merge branch 'maint' (diff) | |
download | tgif-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