Append Signed-off-by text in the commit message editor
commit63d527f15ea19558b8c71fe83013d484fe0f0c38
authorYann Simon <yann.simon.fr@gmail.com>
Wed, 11 Feb 2009 16:17:30 +0000 (11 08:17 -0800)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 11 Feb 2009 16:17:30 +0000 (11 08:17 -0800)
tree9b87645b2ec6ec576f784cfe9c248903960e4a56
parent12d8cf1f0c48fd0f84734751ae58dc44b71fb42d
Append Signed-off-by text in the commit message editor

The user can see and edit the Signed-off-by line in the commit
dialog before committing.  Toggling the existing checkbox now
updates the message to add or remove the user's Signed-off-by
line, displaying the final message.

Updating the committer name and/or email also updates the
Signed-off-by line if it is present.

For new lines in the commit dialog, use Text.DELIMITER for
platform neutrality.

Signed-off-by: Yann Simon <yann.simon.fr@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
(cherry picked from commit 72cb3bd763f17a7d9894a8443e05965ff5e77157)
org.spearce.egit.ui/src/org/spearce/egit/ui/internal/actions/CommitAction.java
org.spearce.egit.ui/src/org/spearce/egit/ui/internal/dialogs/CommitDialog.java
org.spearce.jgit/src/org/spearce/jgit/lib/Constants.java