]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http-walker.c
Move chmod(foo, 0444) into move_temp_to_file()
[thirdparty/git.git] / http-walker.c
index 0dbad3c888c6c9441af4d9550fd147ecb5b1aaf3..c5a3ea3b31045be9407579a9d1aba222ee3e9914 100644 (file)
@@ -231,7 +231,6 @@ static void finish_object_request(struct object_request *obj_req)
 {
        struct stat st;
 
-       fchmod(obj_req->local, 0444);
        close(obj_req->local); obj_req->local = -1;
 
        if (obj_req->http_code == 416) {