Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Should FS become singleton-like?

On Wed, Jan 3, 2018 at 1:04 AM, Marc Strapetz <marc.strapetz@xxxxxxxxxxx> wrote:
>> The reason we were pushing FS down into APIs like Repository and its
>> dependencies is to allow a single JGit process to concurrently open
>> repositories on different drives, which may have different filesystem
>> semantics. On Windows this can be as simple as a repository under C:\
>> vs. a repository in your Cygwin home directory, also under C:\.
>
>
> Does that also imply having two different system Git configs?

I guess it does.

> What do you
> think of low-level FS.DETECTED usages -- is this something which should be
> cleaned up?

Probably, yes. If they are used for a file within a repository or its
worktree, they should be following what the repository has for an FS
instance.


Back to the top