diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-11-02 10:21:37 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-11-02 15:37:55 -0800 |
commit | 5e166843f502536df7e940486721057acf37ec23 (patch) | |
tree | cfa31e19dec00e0330a5fdd1afffd9cedd282e46 /strbuf.h | |
parent | gitweb: generate parent..current URLs (diff) | |
download | tgif-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