diff --git a/klaus/repo.py b/klaus/repo.py index 891c91e3..01c29378 100644 --- a/klaus/repo.py +++ b/klaus/repo.py @@ -112,7 +112,7 @@ def history(self, commit, path=None, max_commits=None, skip=0): def blame(self, commit, path): """""" - cmd = ['git', 'blame', '-ls', commit.id, '--', path] + cmd = ['git', 'blame', '-ls', '--root', commit.id, '--', path] sha1_sums = check_output(cmd, cwd=os.path.abspath(self.path)) for line in sha1_sums.split("\n"): if line: