[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-help-public] Re: [sr #106709] Git commit mailing list for GNU
From: |
Jim Meyering |
Subject: |
[Savannah-help-public] Re: [sr #106709] Git commit mailing list for GNU Guile |
Date: |
Fri, 24 Apr 2009 15:49:49 +0200 |
Sylvain Beucler wrote:
> Follow-up Comment #6, sr #106709 (project administration):
>
>> Could you configure it so that diffs are shown as well?
>> Likewise, could the `[SCM]' string be removed from the subject line?
>
> I don't think that it's possible yet, there was some issues with diffs given
> the weird things you can do with git (push multiple commits, etc.).
>
> Jim, has this evolved recently?
Hi guys,
Ludo, if you want to try a different mail-sending hook, I can help.
For coreutils, I'm using the same one as you, but with these two added features:
# hooks.commiturl
# If set, then use this as a printf-style format string assumed to have
# a single %s specifier, for which the SHA1 of the commit in question will
# be substituted. The resulting string should be a valid URL referring to
# that same SHA1.
# hooks.maildiffs
# If set, then include actual "diff" output, in addition to diffstats.
If you're interested, to make it send diffs, I'd just set the boolean
git config hooks.maildiffs yes
and probably (if you'd like) set the commiturl format as well:
git config hooks.commiturl \
'http://git.savannah.gnu.org/cgit/guile.git/commit/?id=%s'
If you like that or something similar, let me know and I'll
install it for guile.
Even with your existing hook, this setting will remove the [SCM] prefix:
git config hooks.emailprefix ''
- [Savannah-help-public] [sr #106709] Git commit mailing list for GNU Guile, Ludovic Courtès, 2009/04/06
- [Savannah-help-public] [sr #106709] Git commit mailing list for GNU Guile, Sylvain Beucler, 2009/04/06
- [Savannah-help-public] [sr #106709] Git commit mailing list for GNU Guile, Ludovic Courtès, 2009/04/07
- [Savannah-help-public] [sr #106709] Git commit mailing list for GNU Guile, Ludovic Courtès, 2009/04/17
- [Savannah-help-public] [sr #106709] Git commit mailing list for GNU Guile, Sylvain Beucler, 2009/04/20
- [Savannah-help-public] [sr #106709] Git commit mailing list for GNU Guile, Ludovic Courtès, 2009/04/21
- [Savannah-help-public] [sr #106709] Git commit mailing list for GNU Guile, Sylvain Beucler, 2009/04/23
- [Savannah-help-public] Re: [sr #106709] Git commit mailing list for GNU Guile,
Jim Meyering <=
- [Savannah-help-public] Re: [sr #106709] Git commit mailing list for GNU Guile, Ludovic Courtès, 2009/04/24
- [Savannah-help-public] Re: [sr #106709] Git commit mailing list for GNU Guile, Jim Meyering, 2009/04/24