diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-01-07 17:34:17 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-01-07 17:34:17 +0000 |
commit | 923c0f7b763bf3d20f9cd8f02ab9b1d400c733ab (patch) | |
tree | d15b03e22d550c03811138f7ac2f023e45c1718c /src/blob.h | |
parent | c31032a3cf449b77c1ca2a966ec3ca31f2f1fb00 (diff) | |
download | libgit2-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/blob.h')
0 files changed, 0 insertions, 0 deletions