summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorLibravatar Giuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-11-11 13:26:13 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-11-17 13:02:19 -0800
commitc7d94cdbe7ed29a0e26645fa4bb30d87755d86aa (patch)
treec1ab99d285b7f9dcac26b0a0daef149065eed727 /dir.c
parentgitweb: nagivation menu for tags, heads and remotes (diff)
downloadtgif-c7d94cdbe7ed29a0e26645fa4bb30d87755d86aa.tar.xz
gitweb: allow action specialization in page header
An optional -action_extra parameter is given to git_header_html() to identify a variant of the action that is being displayed. For example, this can be used to specify that the remotes view is being used for a specific remote and not to display all remotes. When -action_extra is provided, the action name in the header will be turned into a link to the action without any arguments or parameters, to provide a quick link to the non-specific variant of the action. Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Acked-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions