[Insight-developers] Utilities/hooks.sh

Brad King brad.king at kitware.com
Wed Oct 6 09:56:37 EDT 2010


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