On Wed, May 21, 2025 at 4:35 PM Han Young <hanyang.tony@xxxxxxxxxxxxx> wrote: > We can let repo_hold_locked_index print the error message if the locking > failed. One downside of this is the command still prints "could not write index" below the lock error. The caller can't distinguish between the lock failure and the the actual writing failure.