git-ents.gitmain
⌘K
foforge
commit 0cb53a9
roots: re-home the octicons vendor for the file browser

The octicons vendor patterns in .gitvendors still targeted the dead pre-redo paths under crates/git-ents-server/src/web/icons/. Retargets the three icons the new file browser needs (file, file-directory-fill, chevron-right) plus LICENSE to crates/cli/ents-web/src/assets/icons/, dropping the patterns for icons neither this crate nor its layout uses. Materialized via git vendor apply --force against the same pinned upstream base commit, not a fresh fetch, so content is unchanged.

Assisted-by: Claude:claude-sonnet-5

Joseph D. Carpinelli · 1 month ago

Reviews

No reviews of this commit yet — record a verdict below.

Start a review

verdict

.gitattributes @@ -1,14 +1,4 @@ -crates/git-ents-server/src/web/icons/LICENSE vendor=octicons -crates/git-ents-server/src/web/icons/check.svg vendor=octicons -crates/git-ents-server/src/web/icons/chevron-right.svg vendor=octicons -crates/git-ents-server/src/web/icons/clock.svg vendor=octicons -crates/git-ents-server/src/web/icons/file-directory-fill.svg vendor=octicons -crates/git-ents-server/src/web/icons/file.svg vendor=octicons -crates/git-ents-server/src/web/icons/git-branch.svg vendor=octicons -crates/git-ents-server/src/web/icons/git-commit.svg vendor=octicons -crates/git-ents-server/src/web/icons/issue-opened.svg vendor=octicons -crates/git-ents-server/src/web/icons/north-star.svg vendor=octicons -crates/git-ents-server/src/web/icons/plus.svg vendor=octicons -crates/git-ents-server/src/web/icons/repo.svg vendor=octicons -crates/git-ents-server/src/web/icons/search.svg vendor=octicons -crates/git-ents-server/src/web/icons/tag.svg vendor=octicons +crates/cli/ents-web/src/assets/icons/LICENSE vendor=octicons +crates/cli/ents-web/src/assets/icons/chevron-right.svg vendor=octicons +crates/cli/ents-web/src/assets/icons/file-directory-fill.svg vendor=octicons +crates/cli/ents-web/src/assets/icons/file.svg vendor=octicons
.gitvendors @@ -2,17 +2,7 @@ url = https://github.com/primer/octicons base = 6d9dcd901260bf05a1d82bd3bf52346032f1cedb mode = squash - pattern = icons/repo-16.svg:crates/git-ents-server/src/web/icons/repo.svg - pattern = icons/file-directory-fill-16.svg:crates/git-ents-server/src/web/icons/file-directory-fill.svg - pattern = icons/file-16.svg:crates/git-ents-server/src/web/icons/file.svg - pattern = icons/plus-16.svg:crates/git-ents-server/src/web/icons/plus.svg - pattern = icons/issue-opened-16.svg:crates/git-ents-server/src/web/icons/issue-opened.svg - pattern = icons/check-16.svg:crates/git-ents-server/src/web/icons/check.svg - pattern = icons/chevron-right-16.svg:crates/git-ents-server/src/web/icons/chevron-right.svg - pattern = icons/git-branch-16.svg:crates/git-ents-server/src/web/icons/git-branch.svg - pattern = icons/tag-16.svg:crates/git-ents-server/src/web/icons/tag.svg - pattern = icons/clock-16.svg:crates/git-ents-server/src/web/icons/clock.svg - pattern = icons/git-commit-16.svg:crates/git-ents-server/src/web/icons/git-commit.svg - pattern = icons/north-star-16.svg:crates/git-ents-server/src/web/icons/north-star.svg - pattern = icons/search-16.svg:crates/git-ents-server/src/web/icons/search.svg - pattern = LICENSE:crates/git-ents-server/src/web/icons/LICENSE + pattern = icons/file-directory-fill-16.svg:crates/cli/ents-web/src/assets/icons/file-directory-fill.svg + pattern = icons/file-16.svg:crates/cli/ents-web/src/assets/icons/file.svg + pattern = icons/chevron-right-16.svg:crates/cli/ents-web/src/assets/icons/chevron-right.svg + pattern = LICENSE:crates/cli/ents-web/src/assets/icons/LICENSE
.config/pre-commit.yaml @@ -1,6 +1,6 @@ # Vendored content (see .gitvendors) is kept byte-for-byte as upstream, so it # must not be reformatted by the hooks below. -exclude: ^(.*/)?(CHANGELOG\.md)$|^crates/git-ents-server/src/web/icons/ +exclude: ^(.*/)?(CHANGELOG\.md)$|^crates/cli/ents-web/src/assets/icons/ default_install_hook_types: [pre-commit, commit-msg] repos: - repo: https://github.com/pre-commit/pre-commit-hooks
crates/cli/ents-web/src/assets/icons/LICENSE @@ -1,0 +1,21 @@ +MIT License + +Copyright (c) 2026 GitHub Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.
crates/cli/ents-web/src/assets/icons/chevron-right.svg @@ -1,0 +1,1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"/></svg>
crates/cli/ents-web/src/assets/icons/file-directory-fill.svg @@ -1,0 +1,1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"/></svg>
crates/cli/ents-web/src/assets/icons/file.svg @@ -1,0 +1,1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"/></svg>