summaryrefslogtreecommitdiff
path: root/tests/diff/format_email.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2019-10-24 13:54:42 +0200
committerPatrick Steinhardt <ps@pks.im>2020-06-27 14:33:58 +0200
commit79af067665c37b6dc0b31edb35596c362b0cd9a0 (patch)
treebd42cc75226476bcb5541bda7a79d7b22b91a2e4 /tests/diff/format_email.c
parenta4803c3c5ae2d3e038d56fcfe52215bc2364521a (diff)
downloadlibgit2-79af067665c37b6dc0b31edb35596c362b0cd9a0.tar.gz
repository: do not expose grafting mechanism
Currently, we expose the function `git_repository_shallow_roots` to get all grafted roots of the repository. This already paints us into a corner, though, as we certainly need to experiment with some functionality of the grafting mechanism before we can happily expose some of its functionality. Most importantly, we need to get right when to refresh grafts and when not. Thus, this commit removes the public function with no public replacement. We should first try and see what usecases people come up with to e.g. expose the `git_grafts` mechanism directly in the future or do something different altogether. Instead, we provide an internal interface to get weak pointers to the grafting structs part of the repository itself.
Diffstat (limited to 'tests/diff/format_email.c')
0 files changed, 0 insertions, 0 deletions