diff --git a/setup.cfg b/setup.cfg index b96582d6..28463a77 100644 --- a/setup.cfg +++ b/setup.cfg @@ -25,7 +25,7 @@ package_dir= packages = find: install_requires= gitpython>3 - dulwich>=0.20.38 + dulwich>=0.20.46 pygit2>=1.10.0 pygtrie>=2.3.2 fsspec>=2021.7.0 diff --git a/src/scmrepo/git/backend/dulwich/__init__.py b/src/scmrepo/git/backend/dulwich/__init__.py index b5c52fb0..6e8185fa 100644 --- a/src/scmrepo/git/backend/dulwich/__init__.py +++ b/src/scmrepo/git/backend/dulwich/__init__.py @@ -773,10 +773,6 @@ def status( staged, unstaged, untracked = git_status( self.root_dir, ignored=ignored, untracked_files=untracked_files ) - if os.name == "nt": - # TODO: remove when https://github.com/jelmer/dulwich/pull/995 is - # merged and released - untracked = [path.replace("\\", "/") for path in untracked] return ( {