KiCad: add exclusion for V10's .history folder#4784
KiCad: add exclusion for V10's .history folder#4784hlord2000 wants to merge 1 commit intogithub:mainfrom
Conversation
Signed-off-by: Helmut Lord <kellyhlord@gmail.com>
There was a problem hiding this comment.
Pull request overview
This pull request adds support for KiCad V10's new .history folder to the KiCad gitignore template. KiCad V10 introduces a .history folder for internal history tracking that should be excluded from version control.
Changes:
- Added gitignore pattern for KiCad V10's
.historyfolder
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| # Archived Backups (KiCad 6.0) | ||
| **/*-backups/*.zip | ||
|
|
||
| # Archived Backups (KiCad 10.0) |
There was a problem hiding this comment.
The comment describes this as "Archived Backups" but based on the KiCad forum discussion linked in the PR, the .history folder is for internal history tracking, not archived backups. Consider updating the comment to more accurately describe this feature, such as "Internal history folder (KiCad 10.0)" or "History tracking folder (KiCad 10.0)".
| # Archived Backups (KiCad 10.0) | |
| # Internal history folder (KiCad 10.0) |
| **/*-backups/*.zip | ||
|
|
||
| # Archived Backups (KiCad 10.0) | ||
| .history/ |
There was a problem hiding this comment.
The pattern .history/ will only match a .history folder at the repository root level. If .history folders can exist in subdirectories (e.g., within project subfolders), this pattern should be **/.history/ to match at any directory level, consistent with the pattern used for KiCad 6.0 backups above (**/*-backups/*.zip).
| .history/ | |
| **/.history/ |
Signed-off-by: Helmut Lord kellyhlord@gmail.com
Reasons for making this change
KiCad V10 adds a ".history" folder for internal use.
Links to documentation supporting these rule changes
TODO
https://forum.kicad.info/t/history-folder/65861/4
Merge and Approval Steps