autoconf-archive-maintainers | |
[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatic set-serial?
From: |
Ralf Wildenhues |
Subject: |
Re: Automatic set-serial? |
Date: |
Sat, 20 Nov 2010 08:52:21 +0100 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
* Reuben Thomas wrote on Fri, Nov 19, 2010 at 08:35:59PM CET:
> On 18 November 2010 20:46, Ralf Wildenhues wrote:
> >
> > The serial number needs to be a simple number. And aclocal does
> > consider higher numbers as newer than lower ones.
>
> After much study, it seems that what is needed is a git pre-commit hook
> which runs ./set-serial.sh on the output of git diff --cached --name-only
> (possibly filtered by "\.m4$"). Does this sound reasonable?
Yes, it does. Some testing would probably be prudent, though.
Cheers,
Ralf