summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.java7/src
Commit message (Collapse)AuthorAgeFilesLines
* Set permission bits for "executable" attribute according to the umaskAndrey Loskutov2014-11-222-1/+181
| | | | | | Bug: 424395 Change-Id: I3f5c55dd4c084529af2319029305ba2e174e0636 Signed-off-by: Andrey Loskutov <loskutov@gmx.de> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
* Catch UnsupportedOperationException for older WindowsesRobin Rosenberg2014-03-091-1/+1
| | | | | Bug: 429947 Change-Id: I78d38b345726f62841db34f7091812a91bf21b4b
* Normalize paths on OS XRobin Rosenberg2014-02-122-0/+36
| | | | | | | Java normalizes paths to NFC, but other source may not, e.g Eclipse. Bug: 413390 Change-Id: I08649ac58c9b3cb8bf12794703e4137b1b4e94d5 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
* Use fileAttributes to get more attributes in one goRobin Rosenberg2014-02-124-2/+101
| | | | | | | | | On Windows the length reported by FileAttributes is the size of the target file (a bug, I guess) rather than the link, so we read the linke and look at the length of the link instead. Bug: 353771 Change-Id: I834b06d0447f84379612b8c9190fa77093617595 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
* Length of symbolic link is the number of bytes, not charactersRobin Rosenberg2014-02-101-2/+3
| | | | Change-Id: I6b615f0d5da4339f1f23a29bcaeb80f0346f5764
* Add delete support to FSRobin Rosenberg2014-02-104-0/+20
| | | | Change-Id: Ib6f6fd5ef4a0c9b2062445ac4a0c9d1131e401bf
* Dynamically detect if Windows supports symbolic linksRobin Rosenberg2014-02-101-1/+25
| | | | | | To get symlink support you typically need to run as administrator. Change-Id: I394ea75bc2f250c62f860e537a0af9e6380b3b38 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
* Extend the FS class for Java7Robin Rosenberg2013-05-045-0/+606
The most important difference is that in Java7 we have symbolic links and for most operations in the work tree we want to operate on the link itself rather than the link target, which the old File methods generally do. We also add support for the hidden attribute, which only makes sense on Windows and exists, just since there are claims that Files.exists is faster the File.exists. A new bundle is only activated when run with a Java7 execution environment. It is implemented as a fragment. Tycho currently has no way to conditionally include optional features based on the java version used to run the build, this means with this change the jgit packaging build always needs to be run using java 7. Change-Id: I3d6580d6fa7b22f60d7e54ab236898ed44954ffd Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>