summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-04-10 09:27:04 +0200
committerPatrick Steinhardt <ps@pks.im>2017-04-28 14:05:44 +0200
commit86c035526dd9eb4131ce2a3e25926c5a136b8318 (patch)
treed22700ac8d131b95bc4504b6664a81377bf89666 /include/git2
parente29e802966b7d5a44d17108704f73cca26f815e8 (diff)
downloadlibgit2-86c035526dd9eb4131ce2a3e25926c5a136b8318.tar.gz
tests: object: create sandbox
The object::lookup tests do use the "testrepo.git" repository in a read-only way, so we do not set up the repository as a sandbox but simply open it. But in a future commit, we will want to test looking up objects which are corrupted in some way, which requires us to modify the on-disk data. Doing this in a repository without creating the sandbox will modify contents of our libgit2 repository, though. Create the repository in a sandbox to avoid this.
Diffstat (limited to 'include/git2')
0 files changed, 0 insertions, 0 deletions