aports/testing/gitstats/output.patch
Fabian Affolter 640f4e8fd3 testing/gitstats: new aport
GitStats is a statistics generator for git (a distributed
revision control system) repositories. It examines the
repository and produces some interesting statistics from
the history of it. Currently HTML is the only output format.

http://gitstats.sourceforge.net/
2012-05-26 06:52:00 +00:00

16 lines
630 B
Diff

--- gitstats/gitstats.orig
+++ gitstats/gitstats
@@ -1376,10 +1376,8 @@
exectime_internal = time_end - time_start
print 'Execution time %.5f secs, %.5f secs (%.2f %%) in external commands)' % (exectime_internal, exectime_external, (100.0 * exectime_external) / exectime_internal)
if sys.stdin.isatty():
- print 'You may now run:'
- print
- print ' sensible-browser \'%s\'' % os.path.join(outputpath, 'index.html').replace("'", "'\\''")
- print
+ print 'The report is available at:'
+ print '\'%s\'' % os.path.join(outputpath, 'index.html').replace("'", "'\\''")
if __name__=='__main__':
g = GitStats()