chiark
/
gitweb
/
~mdw
/
stgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2944a7
)
Print the git version when running the "stg version" command
author
Chuck Lever
<cel@netapp.com>
Wed, 26 Oct 2005 18:51:51 +0000
(14:51 -0400)
committer
Catalin Marinas
<catalin.marinas@gmail.com>
Thu, 27 Oct 2005 19:47:13 +0000
(20:47 +0100)
"git --version" was added only recently.
Signed-off-by: Chuck Lever <cel@netapp.com>
stgit/main.py
patch
|
blob
|
blame
|
history
diff --git
a/stgit/main.py
b/stgit/main.py
index 07bc7d4ac594febca51bb2a830f7aa882c58a1ed..0a06b006f6fa0529910064e72f987b5a2b8343d8 100644
(file)
--- 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']: