[vtk-developers] Trouble committing to my local clone

Cory Quammen cquammen at cs.unc.edu
Thu Dec 1 11:42:00 EST 2011


Somehow, the proper hooks got deleted, and these deletions somehow got
staged to the hooks repository. Restoring the proper hooks with git
reset and git checkout resolved the problem.

Cory

On Thu, Dec 1, 2011 at 11:10 AM, Cory Quammen <cquammen at cs.unc.edu> wrote:
> Hi all,
>
> I am running into problems while trying to commit to a branch of VTK
> on my local clone. I'm running 64-bit Windows 7 and using msysgit.
> After staging from files, when I try to commit, I get the message
>
> ++++++
>
> Please initialize your local Git hooks.
> Paste the following commands into a shell:
>
>  cd "c:/dev/packages/VTK/.git/hooks"
>  git init
>  git pull .. remotes/origin/hooks
>  cd ../..
>
> See http://www.vtk.org/Wiki/VTK/Git#Hooks for more details.
>
> ++++++
>
> I ran these steps, but everything seemed to be up to date:
>
> ++++++
>
> Owner at OWNER-PC /c/dev/packages/VTK (BooleanOperations)
> $ cd .git/hooks/
>
> Owner at OWNER-PC /c/dev/packages/VTK/.git/hooks (master)
> $ git init
> Reinitialized existing Git repository in c:/dev/packages/VTK/.git/hooks/.git/
>
> Owner at OWNER-PC /c/dev/packages/VTK/.git/hooks (master)
> $ git pull .. remotes/origin/hooks
> From ..
>  * remote-tracking branch origin/hooks -> FETCH_HEAD
> Already up-to-date.
>
> Owner at OWNER-PC /c/dev/packages/VTK/.git/hooks (master)
> $ cd ../..
>
> Owner at OWNER-PC /c/dev/packages/VTK (BooleanOperations)
>
> +++++
>
> Attempting to commit after running these steps failed with the original message.
>
> Any idea what's going on?
>
> Thanks,
> Cory
>
> --
> Cory Quammen
> Research Associate
> Department of Computer Science
> The University of North Carolina at Chapel Hill



-- 
Cory Quammen
Research Associate
Department of Computer Science
The University of North Carolina at Chapel Hill



More information about the vtk-developers mailing list