Skip to contentSkip to conversation

cvsexportcommit - add -a (add author line) flag, cleanup warnings

PATCH In review Martin Langhoff 2 participants 2 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cvsexportcommit - add -a (add author line) flag, cleanup warnings

This patch adds support for -a which will add an "Author: " line, and possibly a "Committer: " line to the bottom of the commit message for CVS.

The commit message parser is now a little bit better, and some warnings have been cleaned up.

---
 Documentation/git-cvsexportcommit.txt |    6 +++-
 git-cvsexportcommit.perl              |   50 +++++++++++++++++++++++++--------
 2 files changed, 43 insertions(+), 13 deletions(-)
Documentation/git-cvsexportcommit.txt +5 -1
index 27ac72d..b689c1b 100644
@@ -8,7 +8,7 @@ git-cvsexportcommit - Export a commit to
 
 SYNOPSIS
 --------
-'git-cvsexportcommit' [-h] [-v] [-c] [-p] [-f] [-m msgprefix] [PARENTCOMMIT] COMMITID
+'git-cvsexportcommit' [-h] [-v] [-c] [-p] [-a] [-f] [-m msgprefix] [PARENTCOMMIT] COMMITID
 
 
 DESCRIPTION
@@ -39,6 +39,10 @@ OPTIONS
 	Be pedantic (paranoid) when applying patches. Invokes patch with 
 	--fuzz=0
 
+-a::
+	Add authorship information. Adds Author line, and Committer (if
+	different from Author) to the message. 
+
 -f::
 	Force the merge even if the files are not up to date.
 
git-cvsexportcommit.perl +38 -12

84 lines not on this page · raw message

Signature · 1 line
1.4.1.ga3e6