[PATCH] Improve git-update-index error reporting