Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions gitbug/bug.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ def __set_commit(self, repo: pygit2.Repository, commit: str):
repo.checkout_tree(commit)
repo.create_tag(
str(uuid.uuid4()),
commit.oid,
pygit2.GIT_OBJ_COMMIT,
commit.id,
pygit2.GIT_OBJECT_COMMIT,
commit.author,
commit.message,
)
repo.set_head(commit.oid)
repo.set_head(commit.id)

def __checkout_buggy(self, repo: pygit2.Repository) -> None:
# Checkout the buggy version
Expand Down
Loading