zak
unread,Jun 5, 2011, 6:21:11 PM6/5/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GitSharp
I am moving from Subversion to .GIT and I want to see if I can use
gitSharp the same way I can use svnSharp with git hooks
I have created a pre-commit hook , it executes a .Net Application
that works OK using git# API, but using gitSharp.Reposiory.Head I
can only see the commited HEAD not the new proposed commit. So I
can't validate the current commit.
Whether this is sensible thing to do or not I am not sure as it may
not fit with DVCS as I want to use the .NET code to parse git commit
messages, check code headers ..
Even if I can get it to work , thinking about it now I can't see how
it will help unless the cloning copies the hook and binaries.