Revision 852f098c0667abc634f5aba0b91e0317f714fa67 authored by Johannes Sixt on 30 March 2010, 07:46:23 UTC, committed by Junio C Hamano on 30 March 2010, 23:34:04 UTC
Starting with 5256b00 (Use git_mkstemp_mode instead of plain mkstemp to
create object files, 2010-02-22) utime() is invoked on read-only files.
This is not allowed on Windows and results in many warnings of the form

failed utime() on .git/objects/23/tmp_obj_VlgHlc: Permission denied

during a repack.  Fix it by making the file temporarily writable.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent da1fbed
History
File Mode Size
.gitignore -rw-r--r-- 47 bytes
Git.pm -rw-r--r-- 35.1 KB
Makefile -rw-r--r-- 1.4 KB
Makefile.PL -rw-r--r-- 1003 bytes
private-Error.pm -rw-r--r-- 18.6 KB

back to top