Append Signed-off-by text in the commit message editor
commit72cb3bd763f17a7d9894a8443e05965ff5e77157
authorShawn O. Pearce <spearce@spearce.org>
Tue, 10 Feb 2009 17:13:06 +0000 (10 09:13 -0800)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 10 Feb 2009 17:13:06 +0000 (10 09:13 -0800)
tree9b87645b2ec6ec576f784cfe9c248903960e4a56
parent39efae1455a694075278931c17fba742d8b7d6d7
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>
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