diff options
author | Edward Thomson <ethomson@microsoft.com> | 2015-09-17 18:12:05 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2015-09-18 12:17:57 -0400 |
commit | 538dfc8816087f3952f499212f1564336b2cba87 (patch) | |
tree | 0e4558abd9a898dc4bb9906fafb5c9afefafd61b /tests/diff/diff_helpers.c | |
parent | e8ddd8d76c119903677b5d0c638c875023ae6784 (diff) | |
download | libgit2-538dfc8816087f3952f499212f1564336b2cba87.tar.gz |
repository: only reserve repo dirs in the workdir
Check that the repository directory is beneath the workdir before
adding it to the list of reserved paths. If it is not, then there
is no possibility of checking out files into it, and it should not
be a reserved word.
This is a particular problem with submodules where the repo directory
may be in the super's .git directory.
Diffstat (limited to 'tests/diff/diff_helpers.c')
0 files changed, 0 insertions, 0 deletions