gitweb: Add git_get_rev_name_tags function
authorJakub Narebski <jnareb@gmail.com>
Thu, 24 Aug 2006 17:41:23 +0000 (19:41 +0200)
committerJunio C Hamano <junkio@cox.net>
Sat, 26 Aug 2006 02:40:05 +0000 (19:40 -0700)
commit56a322f16113119bcc3770ef9565297ab59c29d2
treee8ddd83b7c73ee89d2c9f15e999ddf3f6539be5c
parent3066c359c63d1dc32db5147ebf015fe9bba4c5bb
gitweb: Add git_get_rev_name_tags function

Add git_get_rev_name_tags function, for later use in
git_commitdiff('plain') for X-Git-Tag: header.

This function, contrary to the call to
  git_get_following_references($hash, "tags");
_does_ strip "tags/" and returns bare tag name.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl