Community
Participate
Working Groups
Follow-up on bug 567296: a core.excludesFile config with an invalid path makes EGit unusable. That should not happen. Such problems should be logged or otherwise be shown to the user, but then operation should continue normally as if the setting had its default value. Just catching the error in JGit and logging might be fine for JGit, but would hide the problem completely from an Eclipse user since Eclipse still has no proper slf4j integration. Perhaps a simple extension to the TypedConfigGetter could do it. Something like a getPath() method that would return a String or maybe even a Path and that would do tilde replacement and check that the String is a valid Path. Then EGit can log the problem and continue.
New Gerrit change created: https://git.eclipse.org/r/c/jgit/jgit/+/169856
New Gerrit change created: https://git.eclipse.org/r/c/egit/egit/+/169857
Gerrit change https://git.eclipse.org/r/c/jgit/jgit/+/169856 was merged to [master]. Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=6f41458d8a3fc436569520974b1072dfbcf7347b
Gerrit change https://git.eclipse.org/r/c/egit/egit/+/169857 was merged to [master]. Commit: http://git.eclipse.org/c/egit/egit.git/commit/?id=1c72212108c3018fe822b93c4ce4614b93afc5bf