Experimental Patchwork setup

Segher Boessenkool segher@kernel.crashing.org
Wed Jun 9 13:00:00 GMT 2010


>> 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



More information about the Gcc mailing list