Code

git-gui: Teach sign off to be more intelligent.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 12 Nov 2006 01:44:03 +0000 (20:44 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 12 Nov 2006 05:16:03 +0000 (00:16 -0500)
commit1daf1d0c81c7c2623867f7884c8cbc5ff0a10d30
tree2d578b4e16912469a013b036ad1c3db58b6d9916
parent6c6dd01a041e628ce6efb583ea865d1a694ff7b2
git-gui: Teach sign off to be more intelligent.

When we sign off on a commit we want to add a blank line between
whatever is in the commit buffer and the new Signed-off-by line,
unless there already is a Signed-off-by (or Acked-by) tag at the end
of the buffer already.  This change makes us do the right thing more
often.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui