This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Experimental Patchwork setup


>> Yes it does. If you tell us how the git pots-commit hook works, we
>> could try to implement a version for svn and GCC.
>
> This is what I've used for git:
>
> 	[jk@pororo helloworld]$ cat .git/hooks/post-applypatch
> 	#!/bin/bash
>
> 	sha=$(git rev-parse HEAD)
> 	hash=$(git show $sha | pwparser --hash)
> 	pwclient update -s Accepted -c $sha -h $hash

We'll need to cut out the ChangeLog parts before computing the
hash.  I'll work on something.


Segher


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]