mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-10 17:02:40 +01:00
4e888458d7
Summary: - `git rev-parse --verify` "verifies" very valid-looking commit name, not just valid commit names. - Currently, if we can't find the base rev we'll incorrectly "verify" it and then fail on "git checkout -b <branch> <some bogus commit>". - Instead, use `git cat-file -t`. - See similar fix in D1590. Example: $ git rev-parse --verify aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Test Plan: Ran "arc patch" in a mismatched local, hit "Y" to branch, got a branch off HEAD instead of an error. Reviewers: btrahan Reviewed By: btrahan CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1947 |
||
---|---|---|
.. | ||
branch | ||
configuration | ||
difference | ||
differential | ||
docs | ||
events/constant/type | ||
exception | ||
lint | ||
parser | ||
repository | ||
unit | ||
workflow | ||
workingcopyidentity | ||
__phutil_library_init__.php | ||
__phutil_library_map__.php |