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
F15280831: D21090.diff
Mon, Mar 3, 1:48 PM
Unknown Object (File)
Sat, Feb 22, 8:56 AM
Unknown Object (File)
Sun, Feb 9, 8:54 AM
Unknown Object (File)
Sun, Feb 9, 8:54 AM
Unknown Object (File)
Sun, Feb 9, 8:54 AM
Unknown Object (File)
Thu, Feb 6, 3:54 AM
Unknown Object (File)
Jan 28 2025, 5:36 AM
Unknown Object (File)
Jan 28 2025, 1:21 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