Create git commit hooks for vcs_git

CorniI - June 7, 2009 - 14:33
Project:Version Control API -- Git backend
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:vcs_git-6.x-1.0-release
Description

We need some commit hooks for vcs_git. For this we maybe need to enhance the internal API. I think for normal commits it makes most sense to use the whole API, load the whole cache file and process the commit as normal to make testing easier, and we'd need the cache file anyways as we need to update it, so I think we don't need that little performance gain which is hidden here.

#1

CorniI - June 7, 2009 - 14:33

tagging for release...

#2

CorniI - June 7, 2009 - 14:40
Title:Create git hooks/xgit scripts for vcs_git» Create git commit hooks for vcs_git

#3

sdboyer - June 7, 2009 - 15:29

Depending on the scope and difficulty of the changes, there's probably a point at which it would be worth waiting until we can generate a gitlib (analogue to svnlib) that'll make doing those operations easier. I dunno how many or how complex changes you have in mind, though, so I'm just throwing that out there as a general note.

 
 

Drupal is a registered trademark of Dries Buytaert.