[Bug 796644] Add git update hook to Tracker git repo
- From: "sysadmin" (GNOME Bugzilla) <bugzilla gnome org>
- To: gnome-infrastructure gnome org
- Subject: [Bug 796644] Add git update hook to Tracker git repo
- Date: Fri, 22 Jun 2018 09:09:26 +0000
Comment # 2
on bug 796644
from Carlos Garnacho
Hmm, it was kinda deliberate, from pre-receive docs in
https://git-scm.com/docs/githooks:
"If the hook exits with non-zero status, none of the refs will be updated. If
the hook exits with zero, updating of individual refs can still be prevented by
the update hook."
I liked the per-ref nature, but it's probably a bit unimportant (eg. allowing
to push WIP work while forbidding on master/stable branches). If you deem
pre-receive a better place for that, I can change the script to take input as
pre-receive hooks do.
You are receiving this mail because:
- You are watching the QA Contact of the bug.
- You are watching the assignee of the bug.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]