| commit | 3bfaf01857ebcefbd38529a73b059dc984ecb5a4 | [log] [tgz] |
|---|---|---|
| author | Junio C Hamano <gitster@pobox.com> | Mon Jun 16 22:02:12 2008 -0700 |
| committer | Junio C Hamano <gitster@pobox.com> | Mon Jun 16 22:02:12 2008 -0700 |
| tree | 091e2c0bd44983126a75707c43ae1bec053e6b87 | |
| parent | 1421c5f274a10f93ce5e8b51c0e1351905f84f4e [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>