author | Junio C Hamano <gitster@pobox.com> | |
Tue, 17 Jun 2008 05:02:12 +0000 (22:02 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 17 Jun 2008 05:02:12 +0000 (22:02 -0700) | ||
commit | 3bfaf01857ebcefbd38529a73b059dc984ecb5a4 | |
tree | 091e2c0bd44983126a75707c43ae1bec053e6b87 | tree | snapshot |
parent | 1421c5f274a10f93ce5e8b51c0e1351905f84f4e | commit | diff |
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>
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>
sha1_file.c | diff | blob | history |