summaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
authorLibravatar Giuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-11-02 10:21:37 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-11-02 15:37:55 -0800
commit5e166843f502536df7e940486721057acf37ec23 (patch)
treecfa31e19dec00e0330a5fdd1afffd9cedd282e46 /strbuf.h
parentgitweb: generate parent..current URLs (diff)
downloadtgif-5e166843f502536df7e940486721057acf37ec23.tar.xz
gitweb: make the supported snapshot formats array global
The array of supported snapshot format is used and defined (with two different names) in two routines, one of which (format_snapshot_links) is often called multiple times per page. Simplify code and speed up page generation by making the array global. Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strbuf.h')
0 files changed, 0 insertions, 0 deletions