FriendCode / gittle

Pythonic Git for Humans
Other
732 stars 90 forks source link

Doesn't Trigger Git Hooks #81

Open glassresistor opened 8 years ago

glassresistor commented 8 years ago

I'm using realms-wiki which uses gittle to work with a git repo. In general its what I need to but it doesn't automatically sync with github.

My plan was to simple add a post-commit hook which would push to github after each commit. The only issue is that for some reason commits using gittle doesn't trigger git hooks commit or otherwise.

When I use git from the command line it works wonderfully but using gittle on the other hand does not trigger the event. Do you have any idea why or how I can fix it?

jelmer commented 8 years ago

On Tue, Jun 14, 2016 at 10:38:41PM -0700, glassresistor wrote:

I'm using realms-wiki which uses gittle to work with a git repo. In general its what I need to but it doesn't automatically sync with github.

My plan was to simple add a post-commit hook which would push to github after each commit. The only issue is that for some reason commits using gittle doesn't trigger git hooks commit or otherwise.

When I use git from the command line it works wonderfully but using gittle on the other hand does not trigger the event. Do you have any idea why or how I can fix it? This might be happening because not all hooks are implementing in Dulwich, which gittle uses under the covers.

Jelmer