Browse Source
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>maint
Giuseppe Bilotta
16 years ago
committed by
Junio C Hamano
1 changed files with 7 additions and 8 deletions
Loading…
Reference in new issue