sapling icon indicating copy to clipboard operation
sapling copied to clipboard

fix(dotgit): set publicheads correctly for transparent git mode

Open vegerot opened this issue 1 year ago • 1 comments

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

vegerot avatar Oct 22 '24 02:10 vegerot

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot avatar Oct 22 '24 03:10 facebook-github-bot