This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bumping DATESTAMP (was: GCC 4.3.5 Status Report (2010-05-22))
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Gerald Pfeifer <gerald at pfeifer dot com>
- Cc: Dongsheng Song <dongsheng dot song at gmail dot com>, Richard Guenther <richard dot guenther at gmail dot com>, "Joseph S. Myers" <joseph at codesourcery dot com>, NightStrike <nightstrike at gmail dot com>, gcc at gcc dot gnu dot org
- Date: Wed, 2 Feb 2011 14:29:22 +0100
- Subject: Re: Bumping DATESTAMP (was: GCC 4.3.5 Status Report (2010-05-22))
- References: <AANLkTikwR2VZuowxH4ijoHghs2qIdaTiehYzu9UF2_R1@mail.gmail.com> <AANLkTi=N-x87fDAD3uzR6Ady--k7Gtj48TgxwukRBA45@mail.gmail.com> <alpine.LNX.2.00.1101302252110.14698@gerinyyl.fvgr> <AANLkTinBdPUZ2F88Eo2dFjC_kRXycUrmWni0t__KwPhX@mail.gmail.com> <AANLkTika1RB7qMcjbB9FLSHpU-hsgZBOtUei2H7=-PYw@mail.gmail.com> <AANLkTi=R6pa3JBjSDf_=WoZEwXB6he_1BuwXCaZL_Cuc@mail.gmail.com> <Pine.LNX.4.64.1101311753400.4363@digraph.polyomino.org.uk> <AANLkTimNTVb4-rOc+7eSS9Vz_c-UADvCG1BXxgsu1F6a@mail.gmail.com> <AANLkTin57_TqdtUKR+eLOCcrkY6pVr3_SdW=hKhKkzCK@mail.gmail.com> <alpine.LNX.2.00.1102011613030.14698@gerinyyl.fvgr>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, Feb 01, 2011 at 04:32:51PM +0100, Gerald Pfeifer wrote:
> On Tue, 1 Feb 2011, Dongsheng Song wrote:
> >> The DATESTAMP change could also be in a post-commit hook (doing
> >> nothing if the date didn't change, of course). ?No idea whether
> >> this is technically possible of course.
> > Yes, the post-commit hook can do this task.
> > If we really want to do that, I can update the current post-commit
> > hook script [1].
>
> I'd love to see that and will be happy to work on this with you,
> apply a patch, etc.
>
> Let's give others the chance to chime in, and if there are no
> objections within the next two days, let's proceed. Fair?
I'd say it should go into a pre-commit hook instead of
post-commit, if possible. So that when one checks in some particular
revision DATESTAMP already has the right timestamp.
Jakub