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
F13063261: D21090.diff
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
Unknown Object (File)
Jan 22 2024, 8:55 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