[Insight-developers] Utilities/hooks.sh

Matthew McCormick (thewtex) matt at mmmccormick.com
Wed Oct 6 10:51:38 EDT 2010


Thanks all for your patience.  Nice catch, Brad K.  That was tricky.

Brad D., did you have anything already done, as Hans suggested, to

 use gerrit
 use the topic stage
 push to itk.org
 check for .git/.git

If not, I can put together a draft.

Thanks,
Matt

On Wed, Oct 6, 2010 at 9:34 AM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> 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
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20101006/c28cdf5a/attachment.htm>


More information about the Insight-developers mailing list