summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorThomas Wolf <thomas.wolf@paranor.ch>2019-05-18 23:48:54 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2019-06-06 19:06:09 +0200
commit1609ce75931b2caa4051b51a3e3e4d6fe242c2f9 (patch)
treee759294c516d9e35d8824dab0d3bf9e9efb01b9b /pom.xml
parentd7bd2e700c7eb1ea4f3b4a65087331c4ee96a9e5 (diff)
downloadjgit-1609ce75931b2caa4051b51a3e3e4d6fe242c2f9.tar.gz
jgit-1609ce75931b2caa4051b51a3e3e4d6fe242c2f9.zip
Determine hard-linking and nlink support per FileStore
It's quite possible that JGit can use the hard-linking mechanism for atomic file creation on some volumes but not on others. Ultimately it depends on the file systems on the mounted volumes. Cache the information per FileStore instead of using a single global flag. Also catch FileSystemException, it may be thrown if the operating system reports a failure. The previously caught AccessDeniedException is a sub-class of FileSystemException. Bug: 547332 Change-Id: I1ef672b3468b0be79e71674344f16f28f9d11ba1 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'pom.xml')
0 files changed, 0 insertions, 0 deletions