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
Unknown Object (File)
Sun, Jan 5, 4:04 PM
Unknown Object (File)
Tue, Dec 31, 3:48 AM
Unknown Object (File)
Thu, Dec 19, 5:54 PM
Unknown Object (File)
Dec 17 2024, 9:14 AM
Unknown Object (File)
Dec 15 2024, 2:42 PM
Unknown Object (File)
Dec 9 2024, 11:30 AM
Unknown Object (File)
Nov 27 2024, 8:58 AM
Unknown Object (File)
Nov 23 2024, 8:31 AM
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