]> asedeno.scripts.mit.edu Git - git.git/blobdiff - fast-import.c
set_shared_perm(): sometimes we know what the final mode bits should look like
[git.git] / fast-import.c
index 3748ddf48d9bdeea890af805016b69e76493a79d..d5fc042bbfe97080df3e275f069055c63bad32eb 100644 (file)
@@ -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");