diff options
| author | Patrick Steinhardt <ps@pks.im> | 2017-04-10 09:27:04 +0200 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2017-04-28 14:05:44 +0200 |
| commit | 86c035526dd9eb4131ce2a3e25926c5a136b8318 (patch) | |
| tree | d22700ac8d131b95bc4504b6664a81377bf89666 /include/git2 | |
| parent | e29e802966b7d5a44d17108704f73cca26f815e8 (diff) | |
| download | libgit2-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
