[Insight-developers] Utilities/hooks.sh

Bill Lorensen bill.lorensen at gmail.com
Wed Oct 6 10:34:53 EDT 2010


So, now you have convinced me that this setup script is valuable.

Strange that I made the same stupid mistake on two different systems.

I deleted it and reran the script. Now it works!

Thanks for your patience.

I'll complete my review now.

Bill

On Wed, Oct 6, 2010 at 10:28 AM, Brad King <brad.king at kitware.com> wrote:
> On 10/06/2010 10:13 AM, Bill Lorensen wrote:
>> On Wed, Oct 6, 2010 at 10:11 AM, Brad King <brad.king at kitware.com> wrote:
>>> On 10/06/2010 10:01 AM, Bill Lorensen wrote:
>>>> Bill at BILLSLAPTOP ~/ProjectsGIT/ITK/.git/hooks (master)
>>>> $ git ls-remote ..
>>>> 48e72dd1cd9ebefae0006cba0fafd6a09928bc8c        HEAD
>>>> 48e72dd1cd9ebefae0006cba0fafd6a09928bc8c        refs/heads/master
>>>
>>> Does "~/ProjectsGIT/ITK/.git/.git" exist?  It shouldn't, but it
>>> could cause this problem.
>>
>> Yes.
>
> Delete it.  You must have run "git init" under ".git" once instead
> of ".git/hooks".
>
> The "dev.sh" setup script under discussion elsewhere in this thread
> should be taught to detect this erroneous case.
>
> -Brad
>


More information about the Insight-developers mailing list