summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2015-10-27 14:17:52 +0100
committerPatrick Steinhardt <ps@pks.im>2017-02-13 11:06:52 +0100
commit384518d09dc16b8a7dae22069e0c612e4b65c5e8 (patch)
treed7ca75438b77086f902a4f60abb0d578666984a3 /include/git2/commit.h
parent143e539fd0e9b83c6a3a369d5baf508ccb51697b (diff)
downloadlibgit2-384518d09dc16b8a7dae22069e0c612e4b65c5e8.tar.gz
repository: restrict checking out checked out branches
If a branch is already checked out in a working tree we are not allowed to check out that branch in another repository. Introduce this restriction when setting a repository's HEAD.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions