This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: glibc.git: hook to prohibit pushing "bad-merge" commits
- From: Jim Meyering <jim at meyering dot net>
- To: Petr Baudis <pasky at suse dot cz>
- Cc: Andreas Schwab <schwab at linux-m68k dot org>, "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Tue, 30 Nov 2010 08:12:33 +0100
- Subject: Re: glibc.git: hook to prohibit pushing "bad-merge" commits
- References: <20101130024202.GZ8806@machine.or.cz>
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.