* Eric Blake wrote on Thu, Aug 21, 2008 at 06:05:00PM CEST:
> Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de> writes:
> > 
> > Sure enough I forgot to 'git add' again after the change, still lying
> > around in my git-ssh tree.  Thanks for catching that!
> 
> Don't feel too bad.  I did the exact same thing myself this morning on m4's 
> branch-1.4.  Hmm, I wonder if it is worth an update hook on savannah that 
> rejects patches where the commit text and/or ChangeLog entry disagree with 
> the 
> files in the commit; but writing such a hook that works reliably seems 
> daunting.

Is there such a thing as a pre-push hook?  It would certainly have
helped me, if that checked for a non-clean tree: I mostly don't mess
around in the git-ssh tree other than to commit.  Development happens
in the read-only git:// tree.

Cheers,
Ralf


Reply via email to