Skip to content

Commit

Permalink
do not treat root commits as boundaries
Browse files Browse the repository at this point in the history
These boundary commits start with a "^" and are not supported by
Dulwich.
  • Loading branch information
posativ committed Jun 25, 2014
1 parent a2ead46 commit 9ea88ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klaus/repo.py
Expand Up @@ -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:
Expand Down

0 comments on commit 9ea88ec

Please sign in to comment.