I seem to recall @vmg commented on something like this elsewhere recently; `strncmp` isn't needed here because you don't need to check for NUL bytes inside the data. This can just be `!memcmp(current - lock_len, GIT_FILELOCK_EXTENSION, lock_len)` instead.