]> git.proxmox.com Git - libgit2.git/commit - include/git2/repository.h
Introduce option to use relative paths for repository work directory
authorJameson Miller <jamill@microsoft.com>
Wed, 20 Aug 2014 14:24:41 +0000 (10:24 -0400)
committerJameson Miller <jamill@microsoft.com>
Wed, 3 Sep 2014 01:07:26 +0000 (21:07 -0400)
commitbc737620dd0d331cb80c22d074569fe29b7ab585
tree02845048ed92a316433bf6c38d8283408d6b530f
parent0ee9f31c3b11116ab5806ab80d03b1d37197d6ce
Introduce option to use relative paths for repository work directory

Teach git_repository_init_ext to use relative paths for the gitlink
to the work directory. This is used when creating a sub repository
where the sub repository resides in the parent repository's
.git directory.
include/git2/repository.h
include/git2/submodule.h
src/repository.c
src/submodule.c
tests/repo/init.c
tests/submodule/add.c
tests/submodule/repository_init.c [new file with mode: 0644]