Skip to content

Commit

Permalink
GitImportProcessor: handle commit markers
Browse files Browse the repository at this point in the history
  • Loading branch information
seirl committed Jul 19, 2017
1 parent 85b5383 commit a2edfbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dulwich/fastexport.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ def progress_handler(self, cmd):
pass

def _reset_base(self, commit_id):
if commit_id.startswith(b":"):
commit_id = self.markers[commit_id[1:]]
if self.last_commit == commit_id:
return
self.last_commit = commit_id
Expand Down

0 comments on commit a2edfbf

Please sign in to comment.