glibc.git: hook to prohibit pushing "bad-merge" commits
Jim Meyering
jim@meyering.net
Tue Nov 30 13:55:00 GMT 2010
Petr Baudis wrote:
> On Mon, Nov 29, 2010 at 10:07:44PM +0100, Jim Meyering wrote:
>> I've temporarily done this on the server,
>>
>> GIT_DIR=/git/glibc.git git config --bool hooks.allowbadwhitespace true
>>
>> so you should be able to push.
>> Let me know when you're done and I'll reset it.
>
> Thanks, you can reset it now.
>
>> I'm not sure if this is exactly the script in glibc's repository,
>> but it's close. If you're interested, I can make it so you can use the
>> mechanism described in comments to flip this flag yourself:
>>
>> http://git.et.redhat.com/?p=ovirt-server.git;a=blob_plain;f=git-hook/update;hb=refs/heads/vcs-admin
>
> Good to know this is (similar to) the code of the hook!
>
> It would be quite nice to have a way for committers to tweak this knob
> if they are sure they need it.
If there is consensus, let me know and I'll set it up.
More information about the Libc-alpha
mailing list