Gnus development mailing list
 help / color / mirror / Atom feed
From: James Cloos <cloos@jhcloos.com>
To: ding@gnus.org
Subject: Re: gitweb kinda stopped?
Date: Thu, 23 Sep 2010 03:02:44 -0400	[thread overview]
Message-ID: <m3d3s56ixf.fsf@eagle.jhcloos.com> (raw)
In-Reply-To: <m3zkv9gwph.fsf@quimbies.gnus.org>

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Are the commit messages regular enough to make this worthwhile?  I mean,
> the commit messages from a single project are regular, but is a commit
> message from Gnus git likely to be parsed correctly by something that
> parses messages from (say) Linux kernel git?

The format I described, namedly:

commit 0a18e15598274b79ce14342ce0bfb76a87dadb45
Author: Kevin Wells <wellsk40@gmail.com>
Date:   Tue Aug 17 17:45:04 2010 -0700

is the default format of git-log(1).  (Commits which are merges will
laso have a Merge: header.)

The --pretty=email format should already be handled as it looks like an
mbox.

The default is --pretty=medium.

The --pretty=full version replaces Date: with Commit: naming the user
who committed the commit. :^)

And --pretty=fuller adds AuthorDate: and CommitDate: headers.

Oh, --pretty=raw is much more machine readable.

Sometimes the commit mail will be a summary.  Mesa does that with big
merge commits; some other projects use thier script.

But other than those summaries, I've only seen the default (--pretty=
medium) used in commit emails.

(Oh, and if the script does not already, it should use the -M -C options
to condense the report of renames and copies.)

-JimC




  reply	other threads:[~2010-09-23  7:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-10 23:02 Lars Magne Ingebrigtsen
2010-09-22 13:38 ` Ted Zlatanov
2010-09-22 16:45   ` Lars Magne Ingebrigtsen
2010-09-22 23:47     ` James Cloos
2010-09-22 23:55       ` Lars Magne Ingebrigtsen
2010-09-23  7:02         ` James Cloos [this message]
2010-09-23 16:16           ` Lars Magne Ingebrigtsen
2010-09-23 22:25             ` James Cloos
2010-09-23 22:30               ` Lars Magne Ingebrigtsen
2010-09-23 14:43       ` Ted Zlatanov
2010-09-24 10:12         ` Ted Zlatanov

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3d3s56ixf.fsf@eagle.jhcloos.com \
    --to=cloos@jhcloos.com \
    --cc=ding@gnus.org \
    /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.
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 NNTP newsgroup(s).