aboutsummaryrefslogtreecommitdiff
path: root/builtin-diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-02-22 00:30:45 -0800
committerJunio C Hamano <junkio@cox.net>2007-02-22 00:31:53 -0800
commit7b802b86a6734a47c964d84922af2a016d836882 (patch)
tree450071188b3acb00e8c1e797cce36c80a155f016 /builtin-diff.c
parent2b5f9a8c0cff511f2bb0833b1ee02645b79323f4 (diff)
downloadgit-7b802b86a6734a47c964d84922af2a016d836882.tar.gz
git-7b802b86a6734a47c964d84922af2a016d836882.tar.xz
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>
Diffstat (limited to 'builtin-diff.c')
0 files changed, 0 insertions, 0 deletions