Skip to content
Closed
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
2 changes: 0 additions & 2 deletions codeflash/code_utils/git_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from unidiff import PatchSet

from codeflash.cli_cmds.console import logger
from codeflash.languages.registry import get_supported_extensions

if TYPE_CHECKING:
from git import Repo
Expand All @@ -39,7 +38,6 @@ def get_git_diff(
uni_diff_text = repository.git.diff(
commit.hexsha + "^1", commit.hexsha, ignore_blank_lines=True, ignore_space_at_eol=True
)
supported_extensions = set(get_supported_extensions())
patch_set = PatchSet(StringIO(uni_diff_text))
change_list: dict[str, list[int]] = {} # list of changes
for patched_file in patch_set:
Expand Down
Loading