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
F22618260: D21090.id.diff
Tue, Sep 29, 1:30 PM
F22557263: D21090.id50233.diff
Wed, Sep 23, 5:54 PM
F22535693: D21090.id50233.diff
Tue, Sep 22, 1:59 AM
F22518781: D21090.id.diff
Sun, Sep 20, 12:35 PM
Unknown Object (File)
Jul 1 2026, 4:33 PM
Unknown Object (File)
Jun 30 2026, 9:37 AM
Unknown Object (File)
Jun 27 2026, 3:20 AM
Unknown Object (File)
Jun 19 2026, 7:44 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable