lock: factor out lock testing into a separate function
This is going to be needed for upcoming work with lock inheritance.
lock: factor code to read lock into a separate function
This is going to be needed for upcoming work with lock inheritance.
tests: add unit tests for locking code
We're going to make significant changes to lock behavior soon.
gitweb: port code selection without line numbers from paper
This is adapted from
f2e4fdb3dd27 and
e92d4b8530cb.
It also fixes
issue4790 in gitweb; tab characters now have meaningful width on
the modified pages (file view, file diff, changeset).