[FFmpeg-cvslog] r19929 - trunk/libavcodec/atrac1.c
Diego Biurrun
diego
Mon Sep 21 01:37:55 CEST 2009
On Sun, Sep 20, 2009 at 07:28:43PM -0400, compn wrote:
> On Mon, 21 Sep 2009 00:00:01 +0200, Diego Biurrun wrote:
> >On Sun, Sep 20, 2009 at 03:49:10PM -0400, compn wrote:
> >> On Sun, 20 Sep 2009 19:23:04 +0200, Diego Biurrun wrote:
> >> >On Sun, Sep 20, 2009 at 07:16:12PM +0200, diego wrote:
> >> >>
> >> >> Log:
> >> >> K&R coding style whitespace cosmetics
> >> >>
> >> >> --- trunk/libavcodec/atrac1.c Sun Sep 20 16:09:27 2009 (r19928)
> >> >> +++ trunk/libavcodec/atrac1.c Sun Sep 20 19:16:12 2009 (r19929)
> >> >> @@ -110,10 +110,10 @@ static void at1_imdct(AT1Ctx *q, float *
> >> >>
> >> >> - unsigned int start_pos, ref_pos=0, pos = 0;
> >> >> + unsigned int start_pos, ref_pos = 0 pos = 0;
> >> >
> >> >Hmm, that's an embarassing typo..
> >> >
> >> >Compilation tests are enough to check whitespace changes normally.
> >>
> >> you dont diff -wb ?
> >
> >I did. I'm not quite sure how it slipped in, I must have diffed at the
> >wrong point. Let's just say that the drinks on Saturday contained more
> >than Cola ;)
>
> is it possible to make a pre-commit hook?
> does anyone want this type of hook?
>
> if commit message contains (*cosmetics*)
> and diff reports non-whitepace changes
> reject ?
Then you could not break lines in commits labeled as cosmetic..
Diego
More information about the ffmpeg-cvslog
mailing list