sapling
sapling copied to clipboard
fix(dotgit): set publicheads correctly for transparent git mode
Summary:
0ce7010b7f taught Sapling to use the correct public head based on the upstream
default branch. However, this doesn't work when using the transparent git mode
through git clone.
This diff will correctly set the publicheads config when initializing sapling
Test Plan: see test-git-clone-sets-publicheads.t
@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.