gitweb: include navigation for non-commit-ishes
commit18545578039a00f1294c1c41ec5e660c675635f2
authorKyle J. McKay <mackyle@gmail.com>
Thu, 1 Oct 2015 13:14:06 +0000 (1 06:14 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 1 Oct 2015 13:14:06 +0000 (1 06:14 -0700)
tree75278e936253ad74dacb2d0cfafffecbb026c9f4
parent4613ccfb9d2b72a1669e0a6b02d5cf70b9482d19
gitweb: include navigation for non-commit-ishes

It's possible to view a tree or blob directly by using the tree
or blob's hash or a tag that points directly to one (without
an intervening commit).  In that case it does not make sense
to show 'commit', 'commitdiff' or 'tree' (in the case of a blob)
options in the navigation line, but things like 'summary' and
'log' still apply.

Modify the code to provide minimal navigation links in these
cases rather than nothing at all which was previously the case.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
gitweb/gitweb.perl