]> source.dussan.org Git - jgit.git/commit
Fix adding files in a network share 33/2333/2
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Tue, 25 Jan 2011 22:26:38 +0000 (23:26 +0100)
committerChris Aniszczyk <caniszczyk@gmail.com>
Wed, 26 Jan 2011 17:26:55 +0000 (11:26 -0600)
commitc4c8d80fd3a32cace67e7e42650aae7c46dcc622
treeda48f6defbe24b6f9447c2cf59e75cd81a8e0232
parent509662653b43cadaab680b5bd8567747217d24d7
Fix adding files in a network share

We cannot always rename read-only files on network shares,
so rename the temp file for a new loose object first, and
then set it as read-only.

Bug: 335388
Change-Id: Ie0350e032a97e0d09626d6143c5c692873a5f6a2
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/ObjectDirectory.java