diff options
author | Junio C Hamano <junkio@cox.net> | 2007-02-22 00:30:45 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-22 00:31:53 -0800 |
commit | 7b802b86a6734a47c964d84922af2a016d836882 (patch) | |
tree | 450071188b3acb00e8c1e797cce36c80a155f016 /builtin-diff-index.c | |
parent | git-status: do not be totally useless in a read-only repository. (diff) | |
download | tgif-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-index.c')
0 files changed, 0 insertions, 0 deletions