clone.c
15.8 KB
-
clone: set refs/remotes/origin/HEAD when branch is specified · 923c0f7b
When a branch is specified to check out in clone, update the remote tracking `HEAD` to point to it. This mimics git's behavior, when `git clone -b <name>` is used.
Edward Thomson committed