diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java index cb5c8bda5..9e817ca77 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java @@ -52,16 +52,44 @@ public abstract class FS { /** The auto-detected implementation selected for this operating system and JRE. */ public static final FS DETECTED; - static { + /** + * Auto-detect the appropriate file system abstraction, taking into account + * the presence of a Cygwin installation on the system. Using jgit in + * combination with Cygwin requires a more elaborate (and possibly slower) + * resolution of file system paths. + * + * @param cygwinUsed + *
Boolean.TRUE
to assume that Cygwin is used in
+ * combination with jgitBoolean.FALSE
to assume that Cygwin is
+ * not used with jgitnull
to auto-detect whether a Cygwin
+ * installation is present on the system and in this case assume
+ * that Cygwin is used