This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 258012 - Enable commit hooks
Summary: Enable commit hooks
Status: CLOSED DUPLICATE of bug 250776
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 8.2
Hardware: PC Windows 8.1
: P3 normal with 2 votes (vote)
Assignee: Ondrej Vrabec
Depends on:
Reported: 2016-02-16 11:54 UTC by cezariusz
Modified: 2018-10-25 15:35 UTC (History)
2 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description cezariusz 2016-02-16 11:54:01 UTC
Product Version: NetBeans IDE Dev (Build 201602080002)
Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
System: Windows 8.1 version 6.3 running on amd64; Cp1250; pl_PL (nb)

Git hooks doesn't work when invoking an action from NetBeans (for example commit). They work for example in IntelliJ IDEA.
Comment 1 Christian Lenz 2017-03-13 08:48:04 UTC
Commit hooks are very needed, because you can commit from the IDE but it will completely ignore the hooks. If you run the tests for example, before you commit, then the commit should break if you have broken tests.
Comment 3 bondolo 2017-03-16 18:32:18 UTC
There are a variety of git extensions such as Gerrit that rely upon hooks. Please consider reprioritizing this effort.
Comment 4 bondolo 2017-03-16 18:34:43 UTC

*** This bug has been marked as a duplicate of bug 250776 ***
Comment 5 Christian Lenz 2018-10-25 15:35:32 UTC
I will close it, because it will handled now at the JIRA board: Please discuss it there for further information.