This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: glibc.git: hook to prohibit pushing "bad-merge" commits


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.


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