Remove "Change-Id" line properly on CR-LF operating systems
commitdcc38081a23dedcc855b0abfa6f14253b93a5626
authorMichael Keppler <Michael.Keppler@gmx.de>
Mon, 13 Aug 2018 11:56:22 +0000 (13 13:56 +0200)
committerMichael Keppler <Michael.Keppler@gmx.de>
Mon, 13 Aug 2018 11:56:22 +0000 (13 13:56 +0200)
tree4d4049b5d1feb17b62ff7b062bb3e06b66f7c72b
parente0e135c4f19945495c8fd5393d17bca1cb7b5726
Remove "Change-Id" line properly on CR-LF operating systems

The line to be removed was calculated assuming a single character
newline. Take the newline information from the widget to either include
1 or 2 characters depending on the OS.

Change-Id: I8910e62c2b0183c057223519270b89c8597948b1
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
Bug:537900
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CommitMessageComponent.java