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)
Thu, Apr 25, 1:16 AM
Unknown Object (File)
Sat, Apr 20, 6:26 AM
Unknown Object (File)
Sat, Apr 13, 6:11 AM
Unknown Object (File)
Thu, Apr 11, 8:50 AM
Unknown Object (File)
Tue, Apr 2, 1:10 AM
Unknown Object (File)
Mar 4 2024, 6:48 PM
Unknown Object (File)
Feb 10 2024, 11:58 PM
Unknown Object (File)
Jan 27 2024, 5:50 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