From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Jon Smirl <jonsmirl@gmail.com>
Cc: Petr Baudis <pasky@suse.cz>, Git Mailing List <git@vger.kernel.org>
Subject: Re: Cleaning up log messages
Date: Sun, 27 Jul 2008 22:16:53 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.1.00.0807272214120.5526@eeepc-johanness> (raw)
In-Reply-To: <9e4733910807271231s7ff6acf8rf5848cc1a31f3afc@mail.gmail.com>
Hi,
On Sun, 27 Jul 2008, Jon Smirl wrote:
> How do you do it with git log? --pretty overrides the default of medium
>
> --pretty[=<format>]
>
> Pretty-print the contents of the commit logs in a given format,
> where <format> can be one of oneline, short, medium, full, fuller,
> email, raw and format:<string>. When omitted, the format defaults to
> medium.
You get it _almost_ with
$ f='commit %H%nAuthor: %aN <%ae>%nDate: %ad%n%n%s%n%n%b'
$ git log --pretty="format:$f"
The only difference being that the commit message is not indented. If you
really need that, it is easy to add.
But I rather doubt that you need it, as you want to make statistics, and
therefore need to pipe the output into a script anyway.
Ciao,
Dscho
next prev parent reply other threads:[~2008-07-27 20:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-27 17:50 Cleaning up log messages Jon Smirl
2008-07-27 18:01 ` Johannes Schindelin
2008-07-27 18:16 ` Jon Smirl
2008-07-27 18:33 ` Petr Baudis
2008-07-27 19:07 ` Jon Smirl
2008-07-27 19:20 ` Johannes Schindelin
2008-07-27 19:31 ` Jon Smirl
2008-07-27 20:16 ` Johannes Schindelin [this message]
2008-07-27 18:47 ` Junio C Hamano
2008-07-27 20:52 ` Jon Smirl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.1.00.0807272214120.5526@eeepc-johanness \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=jonsmirl@gmail.com \
--cc=pasky@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).