diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-06-16 22:02:12 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-06-16 22:02:12 -0700 |
commit | 3bfaf01857ebcefbd38529a73b059dc984ecb5a4 (patch) | |
tree | 091e2c0bd44983126a75707c43ae1bec053e6b87 /cache.h | |
parent | 1421c5f274a10f93ce5e8b51c0e1351905f84f4e (diff) | |
download | git-3bfaf01857ebcefbd38529a73b059dc984ecb5a4.tar.gz git-3bfaf01857ebcefbd38529a73b059dc984ecb5a4.tar.xz |
create_tempfile: make sure that leading directories can be accessible by peers
In a shared repository, we should make sure adjust_shared_perm() is called
after creating the initial fan-out directories under objects/ directory.
Earlier an logico called the function only when mkdir() failed; we should
do so when mkdir() succeeded.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
0 files changed, 0 insertions, 0 deletions