git-p4: add the `p4-pre-submit` hook
authorChen Bin <redacted>
Fri, 27 Jul 2018 11:22:22 +0000 (21:22 +1000)
committerJunio C Hamano <redacted>
Wed, 1 Aug 2018 20:37:18 +0000 (13:37 -0700)
commit251c8c501faf7a7910edb7c9e19692988dcac6a8
treeabdf73ddbb55bae86391f683b7a9eeb2a6c9b4db
parentffc6fa0e396238de3a30623912980263b4f283ab
git-p4: add the `p4-pre-submit` hook

The `p4-pre-submit` hook is executed before git-p4 submits code.
If the hook exits with non-zero value, submit process not start.

Signed-off-by: Chen Bin <redacted>
Reviewed-by: Luke Diamand <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/git-p4.txt
Documentation/githooks.txt
git-p4.py
t/t9800-git-p4-basic.sh
git clone https://git.99rst.org/PROJECT