Skip to main content

default_pull_thread_name

Function default_pull_thread_name 

Source
pub fn default_pull_thread_name(
    explicit_thread: Option<&str>,
    capability: RepositoryCapability,
    head: &Head,
) -> String
Expand description

Default remote thread name for a pull when the user omitted it.

Explicit request wins. On git-overlay, pull tracks the attached HEAD thread (Git branch). On native heddle, the historical default is "main".