summaryrefslogtreecommitdiff
path: root/include/git2/annotated_commit.h
diff options
context:
space:
mode:
authorEtienne Samson <samson.etienne@gmail.com>2018-07-06 20:24:21 +0000
committerEtienne Samson <samson.etienne@gmail.com>2018-07-06 22:24:57 +0200
commit89091d36c47299ee374d50a278c7d676911f3e0d (patch)
treedac393a682cdfc708eb00524c8dee22ac2c1fff6 /include/git2/annotated_commit.h
parent8455a2709f8c2fabf0df775a193b9ef72bb21e43 (diff)
downloadlibgit2-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