Page MenuHomePhabricator

Add a "CommitSymbolRef" for resolving symbolic commits into stable commit hashes
ClosedPublic

Authored by epriestley on Apr 11 2020, 10:52 PM.
Tags
None
Referenced Files
F19083243: D21090.id50243.diff
Dec 2 2025, 12:32 PM
F19013552: D21090.id.diff
Nov 22 2025, 4:05 PM
F19002925: D21090.id.diff
Nov 21 2025, 7:07 AM
F18985401: D21090.id50233.diff
Nov 17 2025, 1:01 PM
F18857511: D21090.diff
Nov 1 2025, 3:45 PM
F18850215: D21090.id.diff
Oct 30 2025, 3:06 PM
F18825153: D21090.id.diff
Oct 23 2025, 7:54 PM
F18821521: D21090.diff
Oct 22 2025, 11:53 PM
Subscribers
None

Details

Summary

Ref T13490. Frequently, we know the symbolic name of a commit (like "master") but need the immutable identifier for it (the commit hash).

Provide a Ref and Query for doing this lookup.

Test Plan

Ran arc inspect symbol(...) with various symbols, saw appropriate resolutions, nulls, or errors.

Diff Detail

Repository
rARC Arcanist
Branch
aflow5
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24051
Build 33110: Run Core Tests
Build 33109: arc lint + arc unit