From: Chuck Lever Date: Wed, 26 Oct 2005 18:51:51 +0000 (-0400) Subject: Print the git version when running the "stg version" command X-Git-Tag: v0.14.3~605 X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/commitdiff_plain/5072554705c126bf4987fc078da2bd6f68787bdc?hp=f2944a74ffacb504b6fa092e138c3e7af3ed5ffb Print the git version when running the "stg version" command "git --version" was added only recently. Signed-off-by: Chuck Lever --- 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']: