summaryrefslogtreecommitdiff
path: root/builtin-diff.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-02-22 00:30:45 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2007-02-22 00:31:53 -0800
commit7b802b86a6734a47c964d84922af2a016d836882 (patch)
tree450071188b3acb00e8c1e797cce36c80a155f016 /builtin-diff.c
parentgit-status: do not be totally useless in a read-only repository. (diff)
downloadtgif-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