On 13/04, Dan McGee wrote:
On Mon, Apr 13, 2015 at 8:28 AM, Johannes Löthberg
<[email protected]> wrote:
On 13/04, Gordian Edenhofer wrote:

Git has a pre-commit hook which is triggered prior to a commit and
many more. Read
https://www.kernel.org/pub/software/scm/git/docs/githooks.html for
more detail.


I'm aware of how git’s hooks work. You do not seem to though. Git is a DVCS,
unlike SVN. You cannot have a pre-commit hook on the server.

You don't sound like you are aware, because you are wrong.

http://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
https://www.atlassian.com/git/tutorials/git-hooks/server-side-hooks
http://git-scm.com/book/en/v2/Customizing-Git-An-Example-Git-Enforced-Policy


Alas I am not. For one, actually look at your second link where it says that there are 3 server-side hooks and note how none of them are pre-commit.

--
Sincerely,
 Johannes Löthberg
 PGP Key ID: 0x50FB9B273A9D0BB5
 https://theos.kyriasis.com/~kyrias/

Attachment: signature.asc
Description: PGP signature

Reply via email to