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 /builtin-reset.c | |
parent | write_loose_object: don't bother trying to read an old object (diff) | |
download | tgif-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 'builtin-reset.c')
0 files changed, 0 insertions, 0 deletions