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)
May 31 2025, 1:46 AM
Unknown Object (File)
May 28 2025, 7:31 PM
Unknown Object (File)
May 28 2025, 1:23 AM
Unknown Object (File)
May 20 2025, 1:31 AM
Unknown Object (File)
May 10 2025, 10:37 AM
Unknown Object (File)
May 9 2025, 10:20 AM
Unknown Object (File)
May 8 2025, 9:43 PM
Unknown Object (File)
Apr 29 2025, 6:16 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable