clone.c
15.7 KB
-
clone: set refs/remotes/origin/HEAD when branch is specified · 854ffd2b
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