This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: ChangeLogs in commit messages
- From: Gary Benson <gbenson at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: Sergio Durigan Junior <sergiodj at redhat dot com>, Andreas Schwab <schwab at linux-m68k dot org>, Joel Brobecker <brobecker at adacore dot com>, gdb <gdb at sourceware dot org>, Andreas Arnez <arnez at linux dot vnet dot ibm dot com>
- Date: Fri, 5 Sep 2014 11:13:24 +0100
- Subject: Re: ChangeLogs in commit messages
- Authentication-results: sourceware.org; auth=none
- References: <20140814083231 dot GA6283 at blade dot nx> <20140814125224 dot GF4924 at adacore dot com> <8761h4fmu4 dot fsf at redhat dot com> <87mwage6x2 dot fsf at redhat dot com> <871trsuz55 dot fsf at igel dot home> <20140904090616 dot GA23758 at blade dot nx> <87y4tzcvny dot fsf at redhat dot com> <CADPb22ShAUeyzwpaLnTO4+ob=S1P2PyqD=4oN94fEx4ikNKUAw at mail dot gmail dot com> <20140904173624 dot GA10113 at blade dot nx>
Gary Benson wrote:
> Doug Evans wrote:
> > If I do a git blame of server.c I see patch 860789c7 with a date
> > of 2014-08-08. That's three weeks before it was pushed upstream.
> > Bleah. I'd really like to be able to do a git blame and have what
> > I see be useful, including the date. The author date is basically
> > useless to me.
>
> I see some options to git-rebase, --committer-date-is-author-date
> and --ignore-date. I'll experiment with these the next time I
> rebase something and see what happens.
Running "git rebase --ignore-date gdb/master" immediately prior to
pushing sets both author and commit dates to the present time on
all commits you are about to push.
Cheers,
Gary
--
http://gbenson.net/