From 5072554705c126bf4987fc078da2bd6f68787bdc Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Wed, 26 Oct 2005 14:51:51 -0400 Subject: [PATCH] Print the git version when running the "stg version" command "git --version" was added only recently. Signed-off-by: Chuck Lever --- stgit/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stgit/main.py b/stgit/main.py index 07bc7d4..0a06b00 100644 --- a/stgit/main.py +++ b/stgit/main.py @@ -127,6 +127,7 @@ def main(): sys.exit(0) if cmd in ['-v', '--version', 'version']: print 'Stacked GIT %s' % version + os.system('git --version') print 'Python version %s' % sys.version sys.exit(0) if cmd in ['copyright']: -- 2.11.0