summaryrefslogtreecommitdiff
path: root/src/patch_parse.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-01-07 17:34:17 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2021-01-07 17:34:17 +0000
commit923c0f7b763bf3d20f9cd8f02ab9b1d400c733ab (patch)
treed15b03e22d550c03811138f7ac2f023e45c1718c /src/patch_parse.c
parentc31032a3cf449b77c1ca2a966ec3ca31f2f1fb00 (diff)
downloadlibgit2-ethomson/clone_branch.tar.gz
clone: set refs/remotes/origin/HEAD when branch is specifiedethomson/clone_branch
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.
Diffstat (limited to 'src/patch_parse.c')
0 files changed, 0 insertions, 0 deletions