From 640f4e8fd3a2a1150b7a6777677b126579f63f70 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 25 May 2012 11:44:54 +0000 Subject: 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/ --- testing/gitstats/output.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 testing/gitstats/output.patch (limited to 'testing/gitstats/output.patch') diff --git a/testing/gitstats/output.patch b/testing/gitstats/output.patch new file mode 100644 index 0000000000..118a4cbb34 --- /dev/null +++ b/testing/gitstats/output.patch @@ -0,0 +1,15 @@ +--- 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() -- cgit v1.2.3