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