]> source.dussan.org Git - jgit.git/commit
Use fileAttributes to get more attributes in one go 42/9642/30
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Thu, 23 Jan 2014 05:07:12 +0000 (06:07 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 12 Feb 2014 00:35:25 +0000 (01:35 +0100)
commit14cd43e6df8045c8f2879ddc8db0f59f45f2ce9c
tree562ca7e1ef642b63a6b1837d097b6b81dfc14615
parent2852b6a07d78086e155c2f658ff9b5b235d1fb4e
Use fileAttributes to get more attributes in one go

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>
org.eclipse.jgit.java7/src/org/eclipse/jgit/util/FS_POSIX_Java7.java
org.eclipse.jgit.java7/src/org/eclipse/jgit/util/FS_Win32_Java7.java
org.eclipse.jgit.java7/src/org/eclipse/jgit/util/FS_Win32_Java7Cygwin.java
org.eclipse.jgit.java7/src/org/eclipse/jgit/util/FileUtil.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/treewalk/FileTreeIteratorWithTimeControl.java
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/FileTreeIterator.java
org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java