문제

I'm using git to commit to an svn server, which has a post commit hook. This post commit hook is supposed to return some text to the client. The hook works fine when I use pure svn, but git svn does not display the text.

Googling around, I have been unable to find any details regarding issues with git-svn integration. Has anyone else run into this problem, and if so, how do I fix it?

도움이 되었습니까?

해결책

This is because git-svn is using the original get_commit_editor() interface that only passes in the new revision number, author, and commit date. get_commit_editor2() provides access to the error message, but it doesn't appear to be a simple change since it stopped passing in the other items as individual arguments and provides a structure now.

Perhaps you can report the issue to the git mailing list, and they can help fix it. They are a friendly and helpful community.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top