--- a/src/eric7/VCS/VersionControl.py Sun Dec 31 18:01:05 2023 +0100 +++ b/src/eric7/VCS/VersionControl.py Sun Dec 31 20:27:52 2023 +0100 @@ -297,7 +297,7 @@ del messages[noMessages:] with contextlib.suppress(TypeError, OSError): - jsonString = json.dumps(messages, indent=2) + jsonString = json.dumps(messages, indent=2) + "\n" with open( os.path.join(projectMgmtDir, VersionControl.commitHistoryData), "w", @@ -331,7 +331,7 @@ ) if lockFile.lock(): with contextlib.suppress(TypeError, OSError): - jsonString = json.dumps([], indent=2) + jsonString = json.dumps([], indent=2) + "\n" with open( os.path.join(projectMgmtDir, VersionControl.commitHistoryData), "w",