try: info command header enhanced

This commit is contained in:
Sitaram Chamarty 2012-03-27 22:18:20 +05:30
parent 9c460a4b9a
commit 5db29062f5
2 changed files with 4 additions and 2 deletions

View file

@ -47,7 +47,9 @@ $patt = shift || '.';
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";
chomp(my $hn = `hostname -s`);
my $gv = substr( `git --version`, 12 );
print "hello $user, this is $ENV{USER}\@$hn running gitolite3 " . version() . " on git $gv\n";
my $lr = lister_dispatch('list-repos');