Use the '--no-renames' git command line option in order to prevent two
filenames per entry.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
"""
commit_sha1 = self.rev_parse("%s^0" % commitish)
args = GitArgs('--pretty=format:%an%x00%ae%x00%ad%x00%cn%x00%ce%x00%cd%x00%s%x00%f%x00%b%x00',
- '-z', '--date=raw', '--name-status', commit_sha1)
+ '-z', '--date=raw', '--no-renames', '--name-status',
+ commit_sha1)
out, err, ret = self._git_inout('show', args.args)
if ret:
raise GitRepositoryError("Unable to retrieve commit info for %s"