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
F18366763: D21090.id50233.diff
Wed, Aug 27, 10:40 PM
F18366210: D21090.id.diff
Wed, Aug 27, 10:02 PM
F18364010: D21090.id50233.diff
Wed, Aug 27, 5:57 PM
F18363211: D21090.id.diff
Wed, Aug 27, 4:05 PM
F18363172: D21090.diff
Wed, Aug 27, 3:57 PM
F18100976: D21090.diff
Sat, Aug 9, 12:13 PM
F18092248: D21090.id50233.diff
Thu, Aug 7, 9:02 AM
F18091834: D21090.id50243.diff
Thu, Aug 7, 1: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