summaryrefslogtreecommitdiff
path: root/fast-import.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-04-08 23:23:41 -0700
committerJunio C Hamano <gitster@pobox.com>2009-04-08 23:23:41 -0700
commitbff82d0cdaf29ec0f8b1f5f166100770c044388f (patch)
tree331010d5c9192dbee7da020bf416cb4c304e1c93 /fast-import.c
parent197cf8d59c0109f486ed6b56512b3c54ea44dccd (diff)
parent1b89eaa4bef44ef84f2af611d5db8727e3be266c (diff)
downloadgit-bff82d0cdaf29ec0f8b1f5f166100770c044388f.tar.gz
Merge branch 'jc/shared-literally' into maint
* jc/shared-literally: t1301: loosen test for forced modes set_shared_perm(): sometimes we know what the final mode bits should look like move_temp_to_file(): do not forget to chmod() in "Coda hack" codepath Move chmod(foo, 0444) into move_temp_to_file() "core.sharedrepository = 0mode" should set, not loosen
Diffstat (limited to 'fast-import.c')
-rw-r--r--fast-import.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fast-import.c b/fast-import.c
index 3748ddf48d..d5fc042bbf 100644
--- a/fast-import.c
+++ b/fast-import.c
@@ -902,9 +902,6 @@ static char *keep_pack(char *curr_index_name)
static const char *keep_msg = "fast-import";
int keep_fd;
- chmod(pack_data->pack_name, 0444);
- chmod(curr_index_name, 0444);
-
keep_fd = odb_pack_keep(name, sizeof(name), pack_data->sha1);
if (keep_fd < 0)
die("cannot create keep file");