even it is not recommended, I use for specific approach a :
git commit -m 'xxxx' file 1 file2
Where both files, that are indexed and changed will be part of the commit.
But not e.g. file3 and file4 that are changed too – but not named in the commit.
Question : How can I do this using jgit !
Even eclipse offers this – but I did not find any approach to to this using jgit (porcelain).
Thanks in advance