-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
query HEAD name, instead of assuming main/master (#386)
Summary: query HEAD name, instead of assuming main/master Test Plan: --- Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/sapling/pull/386). * __->__ #386 Pull Request resolved: #386 Fixes #375 Ran a number of affected integration tests: ``` ./run-tests.py test-git.t test-git-submodule.t test-git-submodule-rebase.t test-rust-clone.t test-doctest.py ``` Using the example from #375, cloned the repo and verified that it cloned the `trunk` branch: ``` $ lhg clone --git https://github.com/cli/cli $ cd cli $ lhg @ 179e9c256 Yesterday at 14:13 2159081+qoega remote/trunk │ Add projectsV2 support to issue create, issue edit, pr create, and pr edit (#6735) │ o 06ae07f97 Yesterday at 07:25 mislav ├─╮ Merge pull request #6880 from cli/setdefault-bare-repo │ │ o │ 351226d34 Yesterday at 07:17 mislav ├───╮ Merge pull request #6881 from cli/reviewers-json-fix │ │ │ o │ │ 241f9197e Wednesday at 21:15 rmw ├─────╮ Merge pull request #6815 from cli/intake-doc ... ``` Reviewed By: quark-zju Differential Revision: D42597162 Pulled By: bolinfest fbshipit-source-id: 2f4b3869f452b57290f2a7a69721ecdd4e444b2e
- Loading branch information
1 parent
cea7748
commit c8b66c6
Showing
3 changed files
with
74 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters