diff --git a/dvc/repo/scm_context.py b/dvc/repo/scm_context.py index 6753ef3d66..83f623f286 100644 --- a/dvc/repo/scm_context.py +++ b/dvc/repo/scm_context.py @@ -46,7 +46,7 @@ def track_file( @staticmethod def _make_git_add_cmd(paths: Union[str, Iterable[str]]) -> str: files = " ".join(map(shlex.quote, ensure_list(paths))) - return f"\tgit add {files}".expandtabs(4) + return f"\tgit add {files}" def add(self, paths: Union[str, Iterable[str]]) -> None: from scmrepo.exceptions import UnsupportedIndexFormat