author | Johannes Schindelin <johannes.schindelin@gmx.de> | |
Sun, 31 May 2009 16:15:18 +0000 (18:15 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 1 Jun 2009 07:10:08 +0000 (00:10 -0700) | ||
commit | d9b26333854ce72a05cd077638c41a332f79c779 | |
tree | 06d3e18d55d2e5801d43d7ebc8764773911494c1 | tree | snapshot |
parent | 492f70913e11de19bc4cb197b1fe195c645b89c9 | commit | diff |
test-chmtime: work around Windows limitation
Windows has problems changing the mtime when the file is write protected,
even by the owner of said file.
Add a Windows-only workaround to change the mode if necessary before
trying to change the mtime.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Windows has problems changing the mtime when the file is write protected,
even by the owner of said file.
Add a Windows-only workaround to change the mode if necessary before
trying to change the mtime.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
test-chmtime.c | diff | blob | history |