Thomas Rast wrote: > R. Tyler Ballance wrote: > > I'm wondering if somebody could point me in the right direction to > > remove "--force" (safely) from the builtin-push.c > > IMHO your update (or pre-receive) hook should just disallow > non-fast-forward updates. Actually there's even this config option: receive.denyNonFastForwards If set to true, git-receive-pack will deny a ref update which is not a fast forward. Use this to prevent such an update via a push, even if that push is forced. This configuration variable is set when initializing a shared repository. -- Thomas Rast trast@{inf,student}.ethz.ch
Attachment:
signature.asc
Description: This is a digitally signed message part.