diff options
author | Russell Belfer <rb@github.com> | 2013-06-22 17:15:31 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-06-22 17:15:31 -0700 |
commit | 8294e8cfff284a05084f7f9b91931e136a0c119d (patch) | |
tree | 85653022a2167feda0c8947f13a388d19176c17c /tests-clar/diff/patch.c | |
parent | 5d669f0a96ab858750f4fdd90f138225946934c2 (diff) | |
download | libgit2-8294e8cfff284a05084f7f9b91931e136a0c119d.tar.gz |
Constrain mkdir calls to avoid extra mkdirs
This updates the calls that make the subdirectories for objects
to use a base directory above which git_futils_mkdir won't walk
any higher. This prevents attempts to mkdir all the way up to
the root of the filesystem.
Also, this moves the objects_dir into the loose backend structure
and removes the separate allocation, plus does some preformatting
of the objects_dir value to guarantee a trailing slash, etc.
Diffstat (limited to 'tests-clar/diff/patch.c')
0 files changed, 0 insertions, 0 deletions