Skip to content

Commit

Permalink
squash: address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
happz committed Aug 2, 2024
1 parent 46934e8 commit 7d6e4e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion tmt/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions tmt/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7d6e4e4

Please sign in to comment.