diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..957399d --- /dev/null +++ b/README.md @@ -0,0 +1,48 @@ +# git2cl + +Convert `git` logs to GNU ChangeLog format. + +# License + +The git2cl tool is released under the GPLv2+. See the file +[COPYING](COPYING) for detailed information. + +# Usage + +The tool invokes 'git log' internally unless you pipe a log to it. +Thus, typically you would use it as follows: + +``` +jas@mocca:~/src/libtasn1$ git2cl > ChangeLog +jas@mocca:~/src/libtasn1$ +``` + +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: + +``` +jas@mocca:~/src/libtasn1$ git log --pretty --numstat --summary | git2cl > ChangeLog +jas@mocca:~/src/libtasn1$ +``` + +The output format is specified by the [GNU ChangeLog +format](http://www.gnu.org/prep/standards/html_node/Change-Logs.html). + +My inspiration for writing this tool was the +[cvs2cl](http://www.red-bean.com/cvs2cl/) tool, which I have been +using in several projects. Replacing it was necessary to seriously +consider switching from CVS to GIT for my projects. + +There is a [Savannah git2cl +project](https://savannah.nongnu.org/projects/git2cl/) and a [GitLab +git2cl project](https://gitlab.com/jas/git2cl). An old repository is +still at [http://repo.or.cz/w/git2cl.git]. + +# Credits + +Luis Mondesi contributed several improvements. + +# Support + +Try talking to [simon@josefsson.org](Simon Josefsson). |