summaryrefslogtreecommitdiff
path: root/archive-tar.c
diff options
context:
space:
mode:
authorPete Wyckoff <pw@padd.com>2013-01-26 22:11:19 -0500
committerJunio C Hamano <gitster@pobox.com>2013-01-26 22:00:39 -0800
commitd20f0f8e2804bedc2c3743b523724ba7b8d34264 (patch)
treef276d94855c71c9d95a58513abcd41093cc676d9 /archive-tar.c
parent4cea4d66083f0f9116674f7ca54418f61bcf17b9 (diff)
downloadgit-d20f0f8e2804bedc2c3743b523724ba7b8d34264.tar.gz
git p4: disable read-only attribute before deleting
On windows, p4 marks un-edited files as read-only. Not only are they read-only, but also they cannot be deleted. Remove the read-only attribute before deleting in both the copy and rename cases. This also happens in the RCS cleanup code, where a file is marked to be deleted, but must first be edited to remove adjust the keyword lines. Make sure it is editable before patching. Signed-off-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive-tar.c')
0 files changed, 0 insertions, 0 deletions