diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-04-06 00:42:52 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-06 00:42:52 -0700 |
commit | 03a39a91842cf745e5fc27dbd6485aad44d839a4 (patch) | |
tree | d4536e303954fc52c189fc3140c46810e9832766 /http-push.c | |
parent | Merge branch 'mg/tracked-local-branches' (diff) | |
parent | t1301: loosen test for forced modes (diff) | |
download | tgif-03a39a91842cf745e5fc27dbd6485aad44d839a4.tar.xz |
Merge branch 'jc/shared-literally'
* 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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/http-push.c b/http-push.c index 6ce5a1d550..e465b20c1a 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 && |