-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jj-lib: abstract a lower-level api for fetching from git.
* This allows more control over the stages of the fetch. * Implement `git::fetch_and_get_default_branch` in terms of the new api. * Update the cli/src/commands/Git/clone.rs to use new `git::fetch_and_get_default_branch`. * Update tests to explicitly use `git::fetch_and_get_default_branch` where relevant. * Update tests to reflect that `git::fetch` doesn't return the default branch. Issue: #4923
- Loading branch information
Showing
3 changed files
with
243 additions
and
85 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
Oops, something went wrong.