Skip to content

TeX: ignore minted error logs - #4939

Open
xiaoyao-666-coder wants to merge 1 commit into
github:mainfrom
xiaoyao-666-coder:tex/ignore-minted-error-logs
Open

xiaoyao-666-coder wants to merge 1 commit into
github:mainfrom
xiaoyao-666-coder:tex/ignore-minted-error-logs

Conversation

@xiaoyao-666-coder

Copy link
Copy Markdown

Link to the application or project's homepage

https://ctan.org/pkg/minted

Reasons for making this change

Minted 3 writes _<jobname MD5>.errlog.minted when its Python helper encounters an unexpected error. The file is generated diagnostic output, and minted deliberately retains it during end-of-compilation cleanup.

The existing _minted*, *.data.minted, *.pyg, and *.log patterns do not match this filename. Add *.errlog.minted to the existing minted section in TeX.gitignore so these logs are ignored in any TeX project using minted.

Links to documentation supporting these rule changes

Validation: checked 14 paths using git check-ignore --no-index -v in an isolated repository before and after the change. Error logs at the root and in a subdirectory are now ignored; existing cache/data/log rules still match, and .tex, .bib, .sty, Python source, and .latexminted_config files remain unignored. git diff --check passes.

Merge and Approval Steps

@xiaoyao-666-coder
xiaoyao-666-coder requested a review from a team as a code owner November 8, 2026 02:13
Copilot AI auto review requested due to automatic review settings November 8, 2026 02:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change is narrowly scoped to adding the Minted error-log pattern while preserving the existing ignore rules, with no active review issues identified.

No open issues 🎉

What changed in this PR

Updates TeX.gitignore to ignore diagnostic error logs generated by Minted 3.

Changes:

  • Adds *.errlog.minted to the existing Minted ignore patterns.
  • Covers generated error logs at any project directory depth while preserving existing rules.
File Description
TeX.gitignore Adds an ignore pattern for Minted error-log files.

Review effort: Lite (auto)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants