[Insight-developers] Utilities/hooks.sh

Bill Lorensen bill.lorensen at gmail.com
Wed Oct 6 10:01:12 EDT 2010


Bill at BILLSLAPTOP ~/ProjectsGIT/ITK/.git/hooks (master)
$ git ls-remote ..
48e72dd1cd9ebefae0006cba0fafd6a09928bc8c        HEAD
48e72dd1cd9ebefae0006cba0fafd6a09928bc8c        refs/heads/master

Bill at BILLSLAPTOP ~/ProjectsGIT/ITK/.git/hooks (master)
$


On Wed, Oct 6, 2010 at 9:56 AM, Brad King <brad.king at kitware.com> wrote:
> On 10/06/2010 09:52 AM, Bill Lorensen wrote:
>> $ pwd
>> /c/lorensen/ProjectsGIT/ITK/.git/hooks
>>
>> Bill at BILLSLAPTOP ~/ProjectsGIT/ITK/.git/hooks (master)
>> $ ls -a
>> .                      commit-msg.sample      pre-commit.sample
>> ..                     post-commit.sample     pre-rebase.sample
>> .git                   post-receive.sample    prepare-commit-msg.sample
>> .gitignore             post-update.sample     update.sample
>> applypatch-msg.sample  pre-applypatch.sample
>> commit-msg             pre-commit
>>
>> Bill at BILLSLAPTOP ~/ProjectsGIT/ITK/.git/hooks (master)
>> $
>
> That looks like the results of the current instructions.  They have
> not changed.  The hooks.sh script is just trying to automate them.
>
>> Bill at BILLSLAPTOP ~/ProjectsGIT/ITK/.git/hooks (master)
>> $  git pull .. refs/remotes/origin/hooks
>> fatal: Couldn't find remote ref refs/remotes/origin/hooks
>> fatal: The remote end hung up unexpectedly
>
> What does
>
>  $ cd .git/hooks
>  $ git ls-remote ..
>
> report?
>
> -Brad
>


More information about the Insight-developers mailing list