Code

git-reset: detect update-ref error and report it.