summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.http.test/tst/org/eclipse
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2011-01-10 23:09:34 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2011-01-28 01:11:12 +0100
commit9ec97688b905b27163295cca9a9fc6fa78cf09e0 (patch)
tree571b66324d87d6e96bc75ea47053c56e1c514448 /org.eclipse.jgit.http.test/tst/org/eclipse
parent38eec8f4a26935ba9e75bfbdde8a5682e05f338d (diff)
downloadjgit-9ec97688b905b27163295cca9a9fc6fa78cf09e0.tar.gz
jgit-9ec97688b905b27163295cca9a9fc6fa78cf09e0.zip
Do not create files to be updated before checkout of DirCache entry
DirCacheCheckout.checkoutEntry() prepares the new file content using a temporary file and then renames it to the file to be written during checkout. For files to be updated checkout() created each file before calling checkoutEntry(). Hence renaming the temporary file always failed which was corrected in exception handling by retrying to rename the file after deleting the just newly created file. Change-Id: I219f864f2ed8d68051d7b5955d0659964fa27274 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.http.test/tst/org/eclipse')
0 files changed, 0 insertions, 0 deletions