summaryrefslogtreecommitdiff
path: root/src/commands/info
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaram@atc.tcs.com>2012-03-15 19:14:40 +0530
committerSitaram Chamarty <sitaram@atc.tcs.com>2012-03-24 10:30:42 +0530
commitafcd974afab9cdd9da23107723ca62d7f52293d0 (patch)
treec8cc2efc20d420f2e4ad4a48bf8b98569308dc40 /src/commands/info
parent5e2563bb8cdc534e520fa07c540a6e40019d163b (diff)
record and maintain a 'version' (for info and elsewhere)
Diffstat (limited to 'src/commands/info')
-rwxr-xr-xsrc/commands/info2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands/info b/src/commands/info
index 6672aeb..726b0d8 100755
--- a/src/commands/info
+++ b/src/commands/info
@@ -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');