| … | … | @@ -268,6 +268,11 @@ export class RepoRegistry { |
| 268 | 268 | const isBare = await this.isBareRepo(fullPath) |
| 269 | 269 | if (!isBare) continue |
| 270 | 270 | |
| 271 | // Skip repos with .pear-git-ignore marker | |
| 272 | const ignoreMarker = path.join(fullPath, '.pear-git-ignore') | |
| 273 | const ignored = await fs.promises.stat(ignoreMarker).catch(() => null) | |
| 274 | if (ignored) continue | |
| 275 | ||
| 271 | 276 | const repoName = entry.replace(/\.git$/, '') |
| 272 | 277 | |
| 273 | 278 | // Auto-install post-receive hook if missing |