git4idea: IDEADEV-41015, IDEADEV-40952: added support for text files without new...