Community
Participate
Working Groups
When doing Git merge from the command line, one can specify extra options. Eg: git merge -s recursive -Xignore-all-space the-branch-to-merge However, from the JGit API, it seems there is no way to specify these extra (-X) options. It would be helpful if JGit could have this feature.
Since sometimes the file will have different CRLF line endings, merging will cause the whole file to conflict. (the markers will show the whole file as conflict). In the Git command line, we use -Xignore-all-space to bypass this issue. Hopefully, JGit can support this as well.
In context of merging and mixed OS environments, this feature is very interessting. Especially since git option merge.renormalize seems to have no effect in JGit. [merge.renormalize](https://git-scm.com/docs/merge-config#merge-config-mergerenormalize)