diff --git a/codeflash/code_utils/git_utils.py b/codeflash/code_utils/git_utils.py index 039c4987a..55b3f99ca 100644 --- a/codeflash/code_utils/git_utils.py +++ b/codeflash/code_utils/git_utils.py @@ -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 @@ -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: