rm -f $(ALL)
# need to push to /var/www/git manually
-push:
+push: $(ALL)
rsync -av gitweb.css root@git.onelab.eu:/git/gitweb.css
rsync -av onelab.cgi root@git.onelab.eu:/git/gitweb.cgi
rsync -av gitweb.css root@git.f-lab.fr:/git/gitweb.css
print " ";
}
print "</td>\n" .
- "<td class=\"link\">" . " | " .
- $cgi->a({-href => href(action=>$tag{'reftype'}, hash=>$tag{'refid'})}, $tag{'reftype'});
+ "<td class=\"link\">" . " | " ;
if ($tag{'reftype'} eq "commit") {
- print " | " . $cgi->a({-href => href(action=>"shortlog", hash=>$tag{'fullname'})}, "shortlog") .
- " | " . $cgi->a({-href => href(action=>"log", hash=>$tag{'fullname'})}, "log");
+ print $cgi->a({-class=>"commit",-href => href(action=>$tag{'reftype'}, hash=>$tag{'refid'})},
+ substr($tag{'refid'},0,9));
+ print " | " . $cgi->a({-href => href(action=>"shortlog", hash=>$tag{'fullname'})}, "shortlog") .
+ " | " . $cgi->a({-href => href(action=>"log", hash=>$tag{'fullname'})}, "log");
} elsif ($tag{'reftype'} eq "blob") {
print " | " . $cgi->a({-href => href(action=>"blob_plain", hash=>$tag{'refid'})}, "raw");
+ } else {
+ print $cgi->a({-href => href(action=>$tag{'reftype'}, hash=>$tag{'refid'})}, $tag{'reftype'});
}
print "</td>\n" .
"</tr>";