record and maintain a 'version' (for info and elsewhere)

This commit is contained in:
Sitaram Chamarty 2012-03-15 19:14:40 +05:30
parent 5e2563bb8c
commit afcd974afa
3 changed files with 17 additions and 1 deletions

View file

@ -19,6 +19,8 @@ usage() if @ARGV;
my $user = $ENV{GL_USER} or _die "GL_USER not set";
my $ref = 'any';
print "hello $user, this is gitolite3 " . version() . " on git " . substr(`git --version`, 12) . "\n";
my $lr = lister_dispatch('list-repos');
my $lm = lister_dispatch('list-members');