summaryrefslogtreecommitdiff
path: root/http-push.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 /http-push.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 'http-push.c')
-rw-r--r--http-push.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/http-push.c b/http-push.c
index 30d2d34041..968b6b0662 100644
--- a/http-push.c
+++ b/http-push.c
@@ -748,7 +748,6 @@ static void finish_request(struct transfer_request *request)
aborted = 1;
}
} else if (request->state == RUN_FETCH_LOOSE) {
- fchmod(request->local_fileno, 0444);
close(request->local_fileno); request->local_fileno = -1;
if (request->curl_result != CURLE_OK &&