Skip to content

git node wpt only updates or creates files, doesn't remove them #678

@panva

Description

@panva
$ git node wpt streams                                                 
----------------------- Checking updates for streams... ------------------------
Last local update for streams is 9e5ef42bd34b
✔  Last update in upstream is 51750bc8d749
---------------- Writing assets to test/fixtures/wpt/streams... ----------------
✔  Read asset list, 94 files in total.
✔  Downloaded 94 assets.
✔  Updated test/fixtures/wpt/versions.json
✔  Updated test/fixtures/wpt/README.md
✔  Updated test/fixtures/wpt/LICENSE.md.
➜  $ git status
On branch main
Your branch is ahead of 'origin/main' by 82 commits.
  (use "git push" to publish your local commits)

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   test/fixtures/wpt/README.md
	modified:   test/fixtures/wpt/streams/readable-streams/garbage-collection.any.js
	modified:   test/fixtures/wpt/streams/resources/test-utils.js
	modified:   test/fixtures/wpt/versions.json

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	test/fixtures/wpt/streams/readable-byte-streams/enqueue-with-detached-buffer.any.js
	test/fixtures/wpt/streams/transferable/gc-crash.html

no changes added to commit (use "git add" and/or "git commit -a")

This correctly adds test/fixtures/wpt/streams/readable-byte-streams/enqueue-with-detached-buffer.any.js but doesn't remove test/fixtures/wpt/streams/readable-byte-streams/enqueue-with-detached-buffer.window.js which the aforementioned was renamed to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions