Title: bug(upgrade): redundant .gitignore entries when parent path already present · Issue #548 · github/squad · GitHub
Open Graph Title: bug(upgrade): redundant .gitignore entries when parent path already present · Issue #548 · github/squad
X Title: bug(upgrade): redundant .gitignore entries when parent path already present · Issue #548 · github/squad
Description: Description When .squad/\ is already in .gitignore, running \squad upgrade\ may add redundant child entries like .squad/log/\ or .squad/orchestration-log/. The dedup logic doesn't check for parent-path coverage. Steps to Reproduce Have ....
Open Graph Description: Description When .squad/\ is already in .gitignore, running \squad upgrade\ may add redundant child entries like .squad/log/\ or .squad/orchestration-log/. The dedup logic doesn't check for parent-...
X Description: Description When .squad/\ is already in .gitignore, running \squad upgrade\ may add redundant child entries like .squad/log/\ or .squad/orchestration-log/. The dedup logic doesn't check for par...
Opengraph URL: https://github.com/github/squad/issues/548
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug(upgrade): redundant .gitignore entries when parent path already present","articleBody":"## Description\nWhen \\.squad/\\ is already in \\.gitignore\\, running \\squad upgrade\\ may add redundant child entries like \\.squad/log/\\ or \\.squad/orchestration-log/\\. The dedup logic doesn't check for parent-path coverage.\n\n## Steps to Reproduce\n1. Have \\.gitignore\\ with \\.squad/\\ entry\n2. Run \\squad upgrade\\\n3. Observe additional \\.squad/log/\\ entries appended\n\n## Expected Behavior\n\\\u001bnsureGitignore()\\ should check if a parent path already covers the entry before appending.\n\n## Location\n\\packages/squad-cli/src/cli/core/upgrade.ts\\ — \\\u001bnsureGitignore()\\\n\n## Priority\nP3 — cosmetic, no functional impact\n\n## Found By\nCross-testing batch 4 during 23-repo public repo validation","author":{"url":"https://github.com/bradygaster","@type":"Person","name":"bradygaster"},"datePublished":"2026-03-23T05:46:10Z","url":"https://github.com/github/squad/issues/548"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:edca2fda-547d-1906-9e26-8721322c1aa8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CFA2:1AE20C:22C61C7:2BFCEBD:6B017733 |
| html-safe-nonce | bb0f6330e1faf270dd3c0309bbcb591df5aebec853e69dc4028feb9945c562c1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkEyOjFBRTIwQzoyMkM2MUM3OjJCRkNFQkQ6NkIwMTc3MzMiLCJ2aXNpdG9yX2lkIjoiMzk4NDgxNjM5MjExMjI3MzIwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2ea6087fd69b4920ea5ae7f1e720a02dd08d527f5ab5c9941e992b6549407c62 |
| hovercard-subject-tag | issue:4118418359 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/squad/548/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1e9cc50bb11675829d2c844020a9ebe32418117e3a6c0e79fa7070f59b6e4ead/github/squad/issues/548 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1e9cc50bb11675829d2c844020a9ebe32418117e3a6c0e79fa7070f59b6e4ead/github/squad/issues/548 |
| og:image:alt | Description When .squad/\ is already in .gitignore, running \squad upgrade\ may add redundant child entries like .squad/log/\ or .squad/orchestration-log/. The dedup logic doesn't check for parent-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bradygaster |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/github/squad git https://github.com/github/squad.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 1151205052 |
| octolytics-dimension-repository_nwo | github/squad |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1151205052 |
| octolytics-dimension-repository_network_root_nwo | github/squad |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width