Skip to content

Commit 1980190

Browse files
codexByron
andcommitted
review
Co-authored-by: Sebastian Thiel <sebastian.thiel@icloud.com>
1 parent e3d5a04 commit 1980190

19 files changed

Lines changed: 36 additions & 34 deletions

File tree

  • gix-archive/tests/fixtures/generated-archives
  • gix-attributes/tests/fixtures/generated-archives
  • gix-blame/tests/fixtures/generated-archives
  • gix-command/tests/fixtures/generated-archives
  • gix-config/tests/fixtures/generated-archives
  • gix-discover/tests/fixtures/generated-archives
  • gix-filter/tests/fixtures/generated-archives
  • gix-fsck/tests/fixtures/generated-archives
  • gix-ignore/tests/fixtures/generated-archives
  • gix-index/tests/fixtures/generated-archives
  • gix-odb/tests/fixtures/generated-archives
  • gix-refspec/tests/fixtures/generated-archives
  • gix-ref/tests/fixtures/generated-archives
  • gix-status/tests/fixtures/generated-archives
  • gix-url/tests/fixtures/generated-archives
  • gix-worktree-state/tests/fixtures/generated-archives
  • gix-worktree-stream/tests/fixtures/generated-archives
  • gix-worktree/tests/fixtures/generated-archives
  • gix/tests/fixtures/generated-archives

gix-archive/tests/fixtures/generated-archives/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Not tracked: the fixture script uses `ln -s`, an executable-bit toggle, and a
1+
# The fixture script uses `ln -s`, an executable-bit toggle, and a
22
# filter driver — features that cannot be round-tripped through an archive
33
# extracted on every supported platform (notably Windows). The script is re-run
44
# on the test host instead.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Not tracked: the fixture bakes a `baseline` file from `git check-attr -a`
2-
# output produced by the host's `git` binary. The exact format/lookup-order is
3-
# sensitive to the git version, so the fixture is re-run on the test host to
1+
# The fixture bakes a `baseline` file from `git check-attr -a`
2+
# output produced by the host's `git` binary. The exact format/lookup-order may
3+
# be sensitive to the git version, so the fixture is re-run on the test host to
44
# stay aligned with the comparing git.
55
make_attributes_baseline.tar

gix-blame/tests/fixtures/generated-archives/.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Not tracked: the fixture bakes `git blame --porcelain` baseline files (under
1+
# The fixture bakes `git blame --porcelain` baseline files (under
22
# `.git/*.baseline`) produced by the host's `git` binary. The exact textual
3-
# output is sensitive to the git version, so the fixture is re-run locally to
3+
# output may be sensitive to the git version, so the fixture is re-run locally to
44
# stay aligned with the comparing git on the test host. Both SHA-1 and SHA-256
55
# variants share this constraint.
66
make_blame_repo.tar
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Not tracked: the fixture seeds a tree of files with `.exe`/`.com` names that
1+
# The fixture seeds a tree of files with `.exe`/`.com` names that
22
# carry no content beyond their stub shebang. On Windows, executable extensions
33
# are interpreted at runtime and committing such a tree adds little value over
44
# regenerating it locally — every test host can produce the same files in a
5-
# fraction of a second. Re-running the script also keeps the test independent
6-
# of host-side line-ending or executable-bit conversions on extraction.
5+
# fraction of a second. Re-running the script also keeps the test aligned with
6+
# installation-wide Git line-ending and executable-bit behavior on extraction.
77
win_path_lookup.tar

gix-config/tests/fixtures/generated-archives/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Not tracked: the test (`from_git_dir`) drives `gix-config` through
1+
# The test (`from_git_dir`) drives `gix-config` through
22
# `GIT_CONFIG_SYSTEM`, `HOME` and `USERPROFILE` overrides that point at the
33
# generated worktree directory. The fixture is regenerated on each host so the
44
# `system.config`, `.gitconfig`, `c.config`, `b.config` and XDG-shaped

gix-discover/tests/fixtures/generated-archives/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Not tracked: the fixture creates linked worktrees (`git worktree add`) whose
1+
# The fixture creates linked worktrees (`git worktree add`) whose
22
# `.git` files and `.git/worktrees/*/gitdir` entries store absolute paths into
33
# the host's working directory. Re-running the script on the test host produces
44
# the correct paths for that machine.

gix-filter/tests/fixtures/generated-archives/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Not tracked: `baseline.sh` runs the host's `git` through a clean/smudge
1+
# `baseline.sh` runs the host's `git` through a clean/smudge
22
# filter driver supplied as its `$1` argument (a host-absolute path to the test
33
# helper binary). Both the driver path and any filter output baked into the
44
# resulting working tree are host-specific, so the fixture must be regenerated

gix-fsck/tests/fixtures/generated-archives/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Not tracked: the fixture sets `GIT_CONFIG_GLOBAL` to a host-absolute path and
1+
# The fixture sets `GIT_CONFIG_GLOBAL` to a host-absolute path and
22
# performs `git clone --no-local --no-hardlinks --filter=...` partial clones
33
# whose alternates/promisor metadata embeds the host path of `./base`, so a
44
# committed archive would not relocate to the test runner's checkout.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Not tracked: the fixture writes `git-check-ignore.baseline` files captured
1+
# The fixture writes `git-check-ignore.baseline` files captured
22
# from the host's `git check-ignore -vn --stdin` output. The baselines are then
33
# diffed against `gix-ignore`, so they must match the comparing git binary on
4-
# the test host. Regenerating per-run avoids drift across git versions.
4+
# the test host. Regenerating per-run avoids possible drift across git versions.
55
make_global_and_external_and_dir_ignores.tar

gix-index/tests/fixtures/generated-archives/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Not tracked: `file_metadata.sh` calls `touch -d` with extreme dates (a
1+
# `file_metadata.sh` calls `touch -d` with extreme dates (a
22
# post-2038 future date and a pre-1970 past date) and falls back to a
33
# 32-bit-fitting date when the future one is rejected. The actual mtimes that
44
# end up on disk depend on the host filesystem's time_t/seconds-resolution

0 commit comments

Comments
 (0)