Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update-index: do not die too early in a read-only repository.
This delays the error exit from hold_lock_file_for_update() in update-index, so that "update-index --refresh" in a read-only repository can still report what paths are stat-dirty before exiting. Also it makes -q to squelch the error message. Signed-off-by: Junio C Hamano <junkio@cox.net>
- Loading branch information