diff --git a/tmt/base.py b/tmt/base.py index ed9ff7339e..c2b23ba0d3 100644 --- a/tmt/base.py +++ b/tmt/base.py @@ -1828,7 +1828,6 @@ def _initialize_worktree(self) -> None: # Make sure ignored paths are saved before telling rsync to use them. # With Python 3.12, we could use `delete_on_false=False` and call `close()`. excludes_tempfile.flush() - os.fsync(excludes_tempfile.fileno()) # Note: rsync doesn't use reflinks right now, so in the future it'd be even better to # use e.g. `cp` but filtering out the above. diff --git a/tmt/utils/__init__.py b/tmt/utils/__init__.py index 24ea29cdcc..4f8544fd18 100644 --- a/tmt/utils/__init__.py +++ b/tmt/utils/__init__.py @@ -4530,9 +4530,9 @@ def git_ignore(*, root: Path, logger: tmt.log.Logger) -> list[Path]: :param root: path to the root of git repository. :param logger: used for logging. - :returns: list of actual paths tah would be ignored by git based on + :returns: list of actual paths that would be ignored by git based on its ``.gitignore`` files. If a whole directory is to be ignored, - its listed as a directory path, not listing its content. + it is listed as a directory path, not listing its content. """ output = Command(