diff options
| author | Etienne Samson <samson.etienne@gmail.com> | 2018-07-06 20:24:21 +0000 |
|---|---|---|
| committer | Etienne Samson <samson.etienne@gmail.com> | 2018-07-06 22:24:57 +0200 |
| commit | 89091d36c47299ee374d50a278c7d676911f3e0d (patch) | |
| tree | dac393a682cdfc708eb00524c8dee22ac2c1fff6 /include/git2/annotated_commit.h | |
| parent | 8455a2709f8c2fabf0df775a193b9ef72bb21e43 (diff) | |
| download | libgit2-89091d36c47299ee374d50a278c7d676911f3e0d.tar.gz | |
tests: fix a relative pathname issue
The path given to `git_index_add_bypath` is relative to the root of the
repository. That `describe/file` path is relative to the root of the
sandbox directory, hence if I add the missing `cl_git_pass` I rightfully
get an error that `$SANDBOX/describe/describe/file doesn't exist`.
The path is thus changed to be made relative to the repository, which
makes the failure go away and "restore" the test.
Diffstat (limited to 'include/git2/annotated_commit.h')
0 files changed, 0 insertions, 0 deletions
