[Insight-developers] Utilities/hooks.sh

Bill Lorensen bill.lorensen at gmail.com
Wed Oct 6 08:23:05 EDT 2010


Here are the errors:
Bill at BILLSLAPTOP ~/ProjectsGIT/ITK (master)
$ Utilities/SetupGitHooks.sh
Pulling the hooks...
fatal: Couldn't find remote ref remotes/origin/hooks
fatal: The remote end hung up unexpectedly
Setting up the uncrustify hook...
Setting up the KWStyle hook...
Done.

Bill at BILLSLAPTOP ~/ProjectsGIT/ITK (master)


On Wed, Oct 6, 2010 at 8:21 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> My trouble yesterday was with my linux build.
>
> Today, I downloaded the new patch onto my Windows laptop. Here I run
> mingw and git bash.
>
> I got the same errors I got on my linux system yesterday.
>
> As on my linux system, I had set this up quite a while ago from the
> itk git instructions (maybe they have changed?);
>
> On Wed, Oct 6, 2010 at 8:09 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>> I blew away my clone and started over. Now everthing is fine.
>>
>>
>> On Wed, Oct 6, 2010 at 8:08 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>>> I followed the itk git instructions and cloned from itk.org.
>>>
>>> On Tue, Oct 5, 2010 at 6:11 PM, Brad King <brad.king at kitware.com> wrote:
>>>> On 10/05/2010 04:01 PM, Bill Lorensen wrote:
>>>>> Actually, there were six reviewers. You were the only one to review
>>>>> it. Looks like a process breakdown.
>>>>
>>>> At first I was the only reviewer.  After I approved it then someone
>>>> (Matt?) requested additional reviewers.  Gerrit does not prevent new
>>>> reviews once one person has approved.  None of the new reviewers
>>>> performed reviews for a week.  When it came up on the phone call today
>>>> that there were so many open changes in Gerrit I decided to merge it.
>>>>
>>>>> I think it is good to have a script to do the setup perhaps it could
>>>>> echo more info about what it is doing..
>>>>>
>>>>> I just ran it and got this message:
>>>>> cd ../ITKPersonal
>>>>> [ITKPersonal(master)] Utilities/hooks.sh
>>>>> fatal: Couldn't find remote ref remotes/origin/hooks
>>>>> fatal: The remote end hung up unexpectedly
>>>>>
>>>>> Did you run it?
>>>>
>>>> Did you clone from itk.org/ITK.git or some other (GitHub?) repo?
>>>> If the origin does not have the hooks branch then you can get a
>>>> message like that.  However, the hook contains a check for the
>>>> existence of the hooks branch before using it.
>>>>
>>>> Matt, any idea what goes wrong with the for-each-ref check?
>>>>
>>>> -Brad
>>>>
>>>
>>
>


More information about the Insight-developers mailing list