Skip to main content

default_push_thread_name

Function default_push_thread_name 

Source
pub fn default_push_thread_name(requested: Option<&str>, head: &Head) -> String
Expand description

Default thread name for a push when the user omitted it.

Explicit request wins; otherwise the attached HEAD thread, else "main" for detached HEAD.