OverviewFilesCommitsIssuesDocsReleasesPeers

pear-git commits / 0f74596

Fix: remove last force-update refspec in server-sync.js
server-sync.js still had +refs/*:refs/* which allowed stale federation peers to revert fresh release refs on the origin. This was the remaining source of tabertron's release branch reverting from v5 to v4. All federation fetch refspecs are now fast-forward only (refs/*:refs/*). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0f745960f9e090f7295dcdf02c5e0c0ee0c608ec
by plankatron <fleeky@gmail.com> · 2026-04-07T16:22:28.000Z

Changed files (1) +1 -1

lib/p2p/federation/server-sync.js +1 -1
……@@ -141,7 +141,7 @@ export class ServerSync {
141141 let done = false
142142 const child = spawn('git', [
143143 '-C', repoPath, 'fetch', fetchUrl,
144 '+refs/*:refs/*', '--no-tags', '--prune'
144 'refs/*:refs/*', '--no-tags'
145145 ])
146146
147147 // bare-subprocess doesn't support timeout — implement manually