News for hackers. Stuff that matters.
Re:How to do distributed locking (2016) by eru on Sunday October 20, 2024 @10:08AM (#41895475)
Git push's `--force-with-lease` option does essentially this.

(Honestly, they should rename `--force-with-lease` to just `--force`, and rename the old `--force` behaviour to `--force-with-extreme-prejudice` or something like that. Basically make the new behaviour the default `--force` behaviour.)

Re:How to do distributed locking (2016) by pyrolistical on Sunday October 20, 2024 @04:42PM (#41898300)
`--force-unsafe`
Re:How to do distributed locking (2016) by eru on Monday October 21, 2024 @03:01AM (#41901432)
That would be the saner name, yes.