pub fn refuse_named_thread_tip_overwrite(
force: bool,
named_thread: Option<&str>,
existing_tip_differs: bool,
) -> boolExpand description
Pure heddle#837 guard: refuse pushing the current checkout under an existing
named thread whose tip differs, unless --force.
existing_tip_differs is true only when the named thread exists and its
tip is not the current checkout state. Non-existent threads always allow
(push creates them on the remote).