From cb82d356e6e49e9e60b933de85cea583dc46cd72 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sun, 10 Mar 2013 21:06:21 -0400 Subject: Stop using --stat for ChangeLog. It takes 15 seconds to generate the ChangeLog for nova. Without --stat, it takes 0.5 seconds. Removing this makes using tox in nova about the same speed as using install_venv/with_venv. Change-Id: I626d5e788bfaf1a80b91d845f21af54680f81c35 --- openstack/common/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openstack') diff --git a/openstack/common/setup.py b/openstack/common/setup.py index 80a0ece..d0a3e94 100644 --- a/openstack/common/setup.py +++ b/openstack/common/setup.py @@ -149,7 +149,7 @@ def write_git_changelog(): git_dir = _get_git_directory() if not os.getenv('SKIP_WRITE_GIT_CHANGELOG'): if git_dir: - git_log_cmd = 'git --git-dir=%s log --stat' % git_dir + git_log_cmd = 'git --git-dir=%s log' % git_dir changelog = _run_shell_command(git_log_cmd) mailmap = _parse_git_mailmap(git_dir) with open(new_changelog, "w") as changelog_file: -- cgit