Why does it need to perform a commit to read the log?
The repo's other commits could be from someone else - whereas a commit it wrote itself is guaranteed to be from the correct/local account.
The repo's other commits could be from someone else - whereas a commit it wrote itself is guaranteed to be from the correct/local account.