]> git.proxmox.com Git - libgit2.git/commit - src/repository.h
repository: introduce commondir variable
authorPatrick Steinhardt <ps@pks.im>
Wed, 16 Sep 2015 10:10:11 +0000 (12:10 +0200)
committerPatrick Steinhardt <ps@pks.im>
Mon, 13 Feb 2017 09:13:02 +0000 (10:13 +0100)
commitc09fd54e2ecb5d43c281ee0fccef6d95787ec510
tree28fa64297f2f62ebb463e6694e33047eab5858fe
parent807d57e7df1b7f71abc445523b88262b63b1b4e3
repository: introduce commondir variable

The commondir variable stores the path to the common directory.
The common directory is used to store objects and references
shared across multiple repositories. A current use case is the
newly introduced `git worktree` feature, which sets up a separate
working copy, where the backing git object store and references
are pointed to by the common directory.
include/git2/repository.h
src/repository.c
src/repository.h
tests/worktree/open.c [new file with mode: 0644]