diff options
author | Johannes Sixt <j6t@kdbg.org> | 2010-03-30 09:46:23 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-30 16:34:04 -0700 |
commit | 852f098c0667abc634f5aba0b91e0317f714fa67 (patch) | |
tree | 6c9c16317171d42e707c8b4843645d868baf35b2 /t/t4101 | |
parent | diff: fix textconv error zombies (diff) | |
download | tgif-852f098c0667abc634f5aba0b91e0317f714fa67.tar.xz |
Windows: fix utime() for read-only files
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>
Diffstat (limited to 't/t4101')
0 files changed, 0 insertions, 0 deletions