[Bug 796644] Add git update hook to Tracker git repo

Comment # 2 on bug 796644 from Carlos Garnacho
Hmm, it was kinda deliberate, from pre-receive docs in

"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:

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]