diff options
author | Monty Taylor <mordred@inaugust.com> | 2014-05-23 13:39:05 -0400 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2014-05-23 13:39:05 -0400 |
commit | 3250f69d1a15c4482deb281e39ed0cd4ac3550b5 (patch) | |
tree | 5603c1f71e4f73a9627a713c9ef1e1bf657a76ce | |
parent | adb0d20ec7eff94b2433180b437bbe1a59ab6456 (diff) | |
download | pbr-3250f69d1a15c4482deb281e39ed0cd4ac3550b5.tar.gz |
Remove --use-mailmap as it's not needed
--use-mailmap is a newer git construct that applies mailmaps to
things that are not using the mailmap aware format strings. But
we're using those format strings, and this breaks on precise.
Simplest thing - don't use the arg, since it's pointless and broken
for us.
Change-Id: Ic8ca062a6936a4f112aa52d0eb209211658611c2
-rw-r--r-- | pbr/packaging.py | 2 | ||||
-rw-r--r-- | pbr/tests/test_setup.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pbr/packaging.py b/pbr/packaging.py index f01ce1e..d6aeb64 100644 --- a/pbr/packaging.py +++ b/pbr/packaging.py @@ -322,7 +322,7 @@ def generate_authors(git_dir=None, dest_dir='.', option_dict=dict()): authors = [] # don't include jenkins email address in AUTHORS file - git_log_cmd = ['log', '--use-mailmap', '--format=%aN <%aE>'] + git_log_cmd = ['log', '--format=%aN <%aE>'] authors += _run_git_command(git_log_cmd, git_dir).split('\n') authors = [a for a in authors if not re.search(ignore_emails, a)] diff --git a/pbr/tests/test_setup.py b/pbr/tests/test_setup.py index 960de99..0ded02b 100644 --- a/pbr/tests/test_setup.py +++ b/pbr/tests/test_setup.py @@ -151,7 +151,7 @@ class GitLogsTest(base.BaseTestCase): co_author_by = u"Co-authored-by: " + co_author git_log_cmd = ( - "git --git-dir=%s log --use-mailmap --format=%%aN <%%aE>" + "git --git-dir=%s log --format=%%aN <%%aE>" % self.git_dir) git_co_log_cmd = ("git --git-dir=%s log" % self.git_dir) git_top_level = "git rev-parse --show-toplevel" |