cvsexportcommit - add -a (add author line) flag, cleanup warnings
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
@@ -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
Thanks.