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 /git-gui/lib/diff.tcl | |
| parent | gitweb: generate parent..current URLs (diff) | |
| download | git-5e166843f502536df7e940486721057acf37ec23.tar.gz git-5e166843f502536df7e940486721057acf37ec23.zip | |
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 'git-gui/lib/diff.tcl')
0 files changed, 0 insertions, 0 deletions
