@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator

Accept pushes with arbitrary Git refs master

Summary: Depends on D20419. Ref T13277. Fixes T8936. Fixes T9383. Fixes T12300. When you push arbitrary refs to Phabricator, the push log currently complains if those refs are not tags or branches. Upstream Git now features "notes", and there's no reason to prevent writes to arbitrary refs, particularly beause we plan to start using them soon (see T13278). Allow these writes as affecting raw refs. Test Plan: - Pushed an arbitrary ref. - Pushed some Git notes. - Wrote a Herald ref rule, saw "ref" in the dropdown. {F6376492} Reviewers: amckinley Reviewed By: amckinley Maniphest Tasks: T13277, T8936, T9383, T12300 Differential Revision: https://secure.phabricator.com/D20420