Jeff King [off-list ref] writes:
Let's move the creation of the unborn symref into update_head(). This
matches the other HEAD-creation cases, and now the logic is consistently
separated: the main cmd_clone() function only examines the situation and
sets variables based on what it finds, and update_head() actually
performs the update.
Yes, this step taken alone, and the final structure of the code,
both look quite sensible.
Thanks, will queue on top.