aboutsummaryrefslogtreecommitdiff
path: root/builtin-log.c
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder@ira.uka.de>2008-09-20 00:15:25 +0200
committerJunio C Hamano <gitster@pobox.com>2008-09-19 19:47:48 -0700
commit05e8b3d6f43bd28aef85ec6e7658536510d6f959 (patch)
tree51a0deecd20d2b29aecbd49e71819ef0ebe87d52 /builtin-log.c
parent3791f77c28f233df121da2f83abf7eefc7b49b69 (diff)
downloadgit-05e8b3d6f43bd28aef85ec6e7658536510d6f959.tar.gz
git-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 'builtin-log.c')
0 files changed, 0 insertions, 0 deletions