diff options
author | Dmitry Smirnov <onlyjob@member.fsf.org> | 2012-09-19 17:43:32 +1000 |
---|---|---|
committer | Dmitry Smirnov <onlyjob@member.fsf.org> | 2012-09-19 17:46:16 +1000 |
commit | 1d74d4c0d933fc69ed5cec838c73502584dead05 (patch) | |
tree | f58d98cbd7e98f40bcd79cc61273d50756db2ece /git2cl | |
parent | 8154f191b8bd0b7696e19932bcc84eca36b0c250 (diff) | |
download | git2cl-1d74d4c0d933fc69ed5cec838c73502584dead05.zip git2cl-1d74d4c0d933fc69ed5cec838c73502584dead05.tar.gz git2cl-1d74d4c0d933fc69ed5cec838c73502584dead05.tar.bz2 |
adding basic POD documentation:
To allow generation of man page using "pod2man" as well as
accessing embedded documentation with "perldoc" (best practice).
Diffstat (limited to 'git2cl')
-rwxr-xr-x | git2cl | 35 |
1 files changed, 35 insertions, 0 deletions
@@ -33,6 +33,41 @@ # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301 USA. +=head1 NAME + +git2cl - tool to convert git logs to GNU ChangeLog + +=head1 SYNOPSIS + +git2cl > ChangeLog + +If you don't want git2cl to invoke git log internally, you can use it +as a pipe. +It needs a git log generated with --pretty --numstat and --summary. +You can use it as follows: + + git log --pretty --numstat --summary | git2cl > ChangeLog + +=head1 DESCRIPTION + +This is a quick'n'dirty tool to convert git logs to GNU ChangeLog +format. + +The tool invokes `git log` internally unless you pipe a log to it. +Thus, typically you would use it as follows: + +=head1 SEE ALSO + +Output format specification: + <http://www.gnu.org/prep/standards/html_node/Change-Logs.html> + +=head1 AUTHORS + +git2cl is developed by Simon Josefsson <simon@josefsson.org> + and Luis Mondesi <lemsx1@gmail.com> + +=cut + use strict; use POSIX qw(strftime); use Text::Wrap qw(wrap); |