Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

oven: broaden pre-rebase cleanup to repo-wide checkout

The previous fix only cleaned papers/ before rebase, but the
papers-git-poller rewrites .last-papers-built-hash at the repo root
every cycle, leaving that file dirty and still blocking the rebase.

Switch from \`git checkout -- papers/\` to \`git checkout -- .\` so the
cleanup covers the whole working tree. We've already committed the PDFs
we care about at this point; everything else left unstaged is either
LaTeX build artifacts or poller state.

+8 -6
+8 -6
oven/papers-builder.mjs
··· 148 148 addLogLine(job, "stdout", ` GIT: committing ${changedFiles.length} file(s)...`); 149 149 await git(["commit", "-m", msg]); 150 150 151 - // Discard any remaining unstaged build artifacts (xelatex leaves tracked 152 - // .log/.toc/.aux/.fls files modified after each run, and intermediate .pdfs 153 - // in papers/arxiv-*/ may also be dirty). We only commit system/public/... + 154 - // metadata.json + BUILDLOG.md, so anything still dirty is byproduct we 155 - // don't want to preserve — and leaving it dirty blocks `git pull --rebase`. 151 + // Discard any remaining unstaged changes (xelatex leaves tracked 152 + // .log/.toc/.aux/.fls files modified after each run, intermediate .pdfs 153 + // in papers/arxiv-*/ may be dirty, and the papers-git-poller rewrites 154 + // .last-papers-built-hash at the repo root). We only commit 155 + // system/public/... + metadata.json + BUILDLOG.md, so anything still dirty 156 + // is byproduct we don't want to preserve — and leaving it dirty blocks 157 + // `git pull --rebase`. 156 158 try { 157 - await git(["checkout", "--", "papers/"]); 159 + await git(["checkout", "--", "."]); 158 160 } catch (cleanupErr) { 159 161 addLogLine( 160 162 job,