OverviewFilesCommitsIssuesDocsReleasesPeers

pear-git commits / dd182bd

Skip bare repos with .pear-git-ignore marker during scan
A .pear-git-ignore file in a bare repo prevents pear-git from registering it on scan. Applied to both scan paths. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
dd182bd77a1c88807b30a073da21c05967ff2738
by plankatron <fleeky@gmail.com> · 2026-04-09T03:20:38.000Z

Changed files (1) +5 -0

lib/repo-registry.js +5 -0
……@@ -833,6 +833,11 @@ echo "[post-receive] Auto-deploy triggered for $REPO_NAME"
833833 if (entry.endsWith('.git')) {
834834 const isBare = await this.isBareRepo(fullPath)
835835 if (isBare) {
836 // Skip repos with .pear-git-ignore marker
837 const ignoreMarker = path.join(fullPath, '.pear-git-ignore')
838 const markerExists = await fs.promises.stat(ignoreMarker).catch(() => null)
839 if (markerExists) continue
840
836841 const repoName = entry.replace(/\.git$/, '')
837842 const repoInfo = await this.getRepoInfo(fullPath, repoName)
838843 if (repoInfo) {