]> Lady’s Gitweb - Gitweb/commit
gitweb: Change appereance of marker of refs pointing to given object
authorJakub Narebski <redacted>
Mon, 14 Aug 2006 00:14:20 +0000 (02:14 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:05:47 +0000 (00:05 -0400)
commite496c7a23678d22fa31ffb1dfdd080984c79b7999c017c74519ee7fab20e2f83
tree8c00cbd6745c8a9dfe4633107cb9e1afb235cc97e6b4f937012c5e9093fb4ed6
parentad0b5898d4129c36cc1dace20f8143d7ed29dadf63a4dcceca4d05e8b555fb6d
gitweb: Change appereance of marker of refs pointing to given object

Change git_get_references to include type of ref in the %refs value, which
means putting everything after 'refs/' as a ref name, not only last
part of the name.  Instead of separating refs pointing to the same
object by " / " separator, use anonymous array reference to store all
refs pointing to given object.

Use 'git-ls-remote .' if $projectroot/$project/info/refs does not
exist.  (Perhaps it should be used always.)

Refs are now in separate span elements.  Class is dependent on the ref
type: currently known classes are 'tag', 'head', 'remote', and 'ref'
(last one for HEAD and other refs in the main directory).  There is
encompassing span element of class refs, just in case of unknown ref
type.

This might be considered cleaner separating of git_get_references into
filling %refs hash only, and not taking part in formatting ref marker.

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.css
gitweb.perl
This page took 0.113509 seconds and 4 git commands to generate.